cURL
curl --request GET \ --url https://api.atla-ai.com/v1/metrics/{metric_id}/prompts \ --header 'Authorization: Bearer <token>'
{ "request_id": "123e4567-e89b-12d3-a456-426614174000", "status": "success", "prompts": [ { "version": 1, "content": "Assign a score of 1 for a funny response, 0 for a boring response.", "created_at": "2025-01-01T12:34:56.789Z", "updated_at": "2025-01-01T12:34:56.789Z" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the metric to list the prompts for.
Successful Response
A response containing a list of prompts.