cURL
curl --request GET \ --url https://agents.nineteen58.co.za/public-api/prompts \ --header 'x-api-key: <api-key>'
{ "prompts": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "name": "<string>", "prompt": "<string>", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "is_global": true, "goal": "<string>", "flow": "<string>", "tool_use_rules": "<string>", "background": "<string>", "persona": "<string>", "outcomes_json": {}, "example_conversation": "<string>", "outcomes": "<string>" } ], "totalCount": 123, "currentPage": 123, "pageSize": 123, "totalPages": 123 }
Returns a paginated list of broadcast prompts
Filter prompts by agent ID
Page number for pagination
x >= 1
Number of items per page
1 <= x <= 100
Successfully retrieved prompts
Show child attributes