cURL
curl --request GET \ --url https://api.fluents.ai/v1/prompts/list \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "user_id": "550e8400-e29b-41d4-a716-446655440000", "label": "My Prompt", "description": "This is a description", "content": "You are a helpful assistant...", "context_endpoint": "https://api.example.com/context", "collect_fields": [ "<string>" ], "type": "prompt", "tags": [ "tag1", "tag2" ], "prompt_template": { "id": "550e8400-e29b-41d4-a716-446655440000", "user_id": "550e8400-e29b-41d4-a716-446655440000", "required_context_keys": [ "tag1", "tag2" ], "label": "My Prompt" } } ], "page": 123, "size": 123, "has_more": true, "total": 123, "total_is_estimated": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes