List agents
GET/v1/agents
List agents
curl https://api.cadenya.com/v1/agents \
-H "Authorization: Bearer $CADENYA_API_KEY"{
"items": [
{
"metadata": {
"id": "id",
"accountId": "accountId",
"createdAt": "2019-12-27T18:11:19.117Z",
"name": "name",
"profileId": "profileId",
"workspaceId": "workspaceId",
"externalId": "externalId",
"labels": {
"foo": "string"
}
},
"spec": {
"status": "AGENT_STATUS_UNSPECIFIED",
"variationSelectionMode": "VARIATION_SELECTION_MODE_UNSPECIFIED",
"description": "description",
"webhookEventsUrl": "webhookEventsUrl"
},
"info": {
"createdBy": {
"metadata": {
"id": "id",
"accountId": "accountId",
"name": "name",
"profileId": "profileId",
"externalId": "externalId",
"labels": {
"foo": "string"
}
},
"spec": {
"type": "PROFILE_TYPE_USER",
"email": "email",
"name": "name"
}
},
"variationCount": 0
}
}
],
"pagination": {
"nextCursor": "nextCursor",
"total": 0
}
}Returns Examples
{
"items": [
{
"metadata": {
"id": "id",
"accountId": "accountId",
"createdAt": "2019-12-27T18:11:19.117Z",
"name": "name",
"profileId": "profileId",
"workspaceId": "workspaceId",
"externalId": "externalId",
"labels": {
"foo": "string"
}
},
"spec": {
"status": "AGENT_STATUS_UNSPECIFIED",
"variationSelectionMode": "VARIATION_SELECTION_MODE_UNSPECIFIED",
"description": "description",
"webhookEventsUrl": "webhookEventsUrl"
},
"info": {
"createdBy": {
"metadata": {
"id": "id",
"accountId": "accountId",
"name": "name",
"profileId": "profileId",
"externalId": "externalId",
"labels": {
"foo": "string"
}
},
"spec": {
"type": "PROFILE_TYPE_USER",
"email": "email",
"name": "name"
}
},
"variationCount": 0
}
}
],
"pagination": {
"nextCursor": "nextCursor",
"total": 0
}
}