curl --request POST \
--url https://api.example.com/api/v2/projects/{project_id}/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"id": null
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}Create a new agent in your project. Agents are used to organize and group related sessions and traces.
curl --request POST \
--url https://api.example.com/api/v2/projects/{project_id}/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"id": null
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.