GET
/
agents
cURL
curl --request GET \
  --url https://odyssey.asteroid.ai/agents/v2/agents \
  --header 'X-Asteroid-Agents-Api-Key: <api-key>'
{
  "items": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "page": 123,
  "pageSize": 123,
  "total": 123
}

Authorizations

X-Asteroid-Agents-Api-Key
string
header
required

Query Parameters

organizationId
string<uuid>
pageSize
integer
default:10
required
page
integer
default:1
required
searchName
string
sort_field
enum<string>
Available options:
name,
created_at
sort_direction
enum<string>
Available options:
asc,
desc

Response

The request has succeeded.

The response is of type object.