Agents
Get Agent by ID
Retrieve an agent by its unique ID.
GET
/
agent
/
id
/
{id}
Copy
curl --request GET \
--url https://{api-address}.org.machina.gg/agent/id/{id} \
--header 'x-api-token: <api-key>'
Copy
{
"data": {
"_id": "67e09cb441dc71ef8db3992f",
"name": "my-new-agent",
"title": "My New Agent",
"description": "Your agent description",
"status": "inactive",
"context": {
"config-frequency": 0.04
},
"workflows": [
{
"name": "sync-nba-embeds",
"description": "sync-nba-embeds",
"inputs": {
"event_code": "$.get('event_code') or None"
},
"outputs": {
"sync-nba-embeds-status": "$.get('workflow-status', False)"
}
}
],
"created": "Sun, 23 Mar 2025 23:43:48 GMT",
"updated": "Mon, 24 Mar 2025 00:21:10 GMT",
"last_execution": "Mon, 24 Mar 2025 00:21:10 GMT",
"processing": false,
"scheduled": false
},
"status": true
}
Authorizations
API key authentication
Path Parameters
Unique ID of the agent
Response
200
application/json
Agent details
The response is of type object
.
Copy
curl --request GET \
--url https://{api-address}.org.machina.gg/agent/id/{id} \
--header 'x-api-token: <api-key>'
Copy
{
"data": {
"_id": "67e09cb441dc71ef8db3992f",
"name": "my-new-agent",
"title": "My New Agent",
"description": "Your agent description",
"status": "inactive",
"context": {
"config-frequency": 0.04
},
"workflows": [
{
"name": "sync-nba-embeds",
"description": "sync-nba-embeds",
"inputs": {
"event_code": "$.get('event_code') or None"
},
"outputs": {
"sync-nba-embeds-status": "$.get('workflow-status', False)"
}
}
],
"created": "Sun, 23 Mar 2025 23:43:48 GMT",
"updated": "Mon, 24 Mar 2025 00:21:10 GMT",
"last_execution": "Mon, 24 Mar 2025 00:21:10 GMT",
"processing": false,
"scheduled": false
},
"status": true
}
Assistant
Responses are generated using AI and may contain mistakes.