Skip to main content
GET
/
api
/
v1
/
prompts
/
agent
/
{agent_id}
List prompts assigned to an agent
curl --request GET \
  --url https://api.example.com/api/v1/prompts/agent/{agent_id}
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "prompt_id": "<string>",
    "version": 123,
    "content": "<string>",
    "tags": [
      "<string>"
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Headers

x-workspace-id
string | null

Path Parameters

agent_id
string
required

Response

Successful Response

id
string<uuid>
required
prompt_id
string
required
version
integer
required
content
string
required
tags
string[]
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
Last modified on March 22, 2026