Create an agent
POST/v1/agents/create/
Create an agent.
Request
- application/json
Body
required
3.9
- 3.93.10
- 3.103.11
- 3.113.12
- 3.12
name stringrequired
script stringrequired
requirements string
env_vars string
python_version stringrequired
Possible values: [3.9
, 3.10
, 3.11
, 3.12
]
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
3.9
- 3.93.10
- 3.103.11
- 3.113.12
- 3.12
id uuidrequired
name stringrequired
script stringrequired
requirements stringrequired
env_vars stringrequired
python_version stringrequired
Possible values: [3.9
, 3.10
, 3.11
, 3.12
]
created date-timerequired
modified date-timerequired
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"script": "string",
"requirements": "string",
"env_vars": "string",
"python_version": "3.9",
"created": "2024-12-13T08:33:24.937Z",
"modified": "2024-12-13T08:33:24.937Z"
}
Loading...