cURL
curl --request GET \ --url https://api.example.com/api/v1/contexts/{context_id}/history \ --header 'Authorization: Basic <encoded-value>'
{ "items": [ { "data": { "artifactId": "<string>", "parts": [ { "text": "<string>", "kind": "text", "metadata": {} } ], "description": "<string>", "extensions": [ "<string>" ], "metadata": {}, "name": "<string>" }, "context_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "kind": "message", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z" } ], "total_count": 123, "next_page_token": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "has_more": false }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
1 <= x <= 100
^(asc|desc)$
^created_at|updated_at$
Successful Response
Show child attributes