GET
/
api
/
v1
/
threads
/
{threadId}
/
runs
curl --request GET \
  --url https://itz.am/api/v1/threads/{threadId}/runs \
  --header 'Api-Key: <api-key>'
{
  "runs": [
    {
      "id": "run_1234567890",
      "input": "What is React?",
      "output": "React is a JavaScript library...",
      "createdAt": "2021-01-01T00:00:00.000Z",
      "model": {
        "name": "gpt-4o",
        "tag": "openai:gpt-4o"
      }
    }
  ]
}

Authorizations

Api-Key
string
header
required

The API key to use for authentication

Path Parameters

threadId
string
required

Response

200
application/json

Successfully retrieved thread runs

The response is of type object.