curl --request POST \
--url https://api.getcargo.io/v1/ai/releases/deployDraft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agentUuid": "<string>",
"tools": [
{
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"isBulkAllowed": true,
"config": {},
"kind": "<string>",
"toolUuid": "<string>",
"templateSlug": "<string>"
}
],
"mcpClients": [
{
"name": "<string>",
"url": "<string>",
"authentication": {
"issuedAt": "<string>",
"accessToken": "<string>",
"expiresIn": 123,
"refreshToken": "<string>",
"scope": "<string>",
"tokenType": "<string>",
"clientId": "<string>"
},
"disabledToolSlugs": [
"<string>"
]
}
],
"resources": [
{
"kind": "<string>",
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"integrationSlug": "<string>",
"modelUuid": "<string>",
"filter": {
"conjonction": "or",
"groups": [
"<unknown>"
]
},
"selectedColumnSlugs": [
"<string>"
],
"limit": 123,
"prompt": "<string>"
}
],
"capabilities": [
{
"slug": "<string>"
}
],
"suggestedActions": [
{
"text": "<string>",
"tools": [
{
"slug": "<string>"
}
]
}
],
"integrationSlug": "<string>",
"languageModelSlug": "<string>",
"version": "<string>",
"systemPrompt": "<string>",
"withReasoning": true,
"temperature": 123,
"maxSteps": 123,
"connectorUuid": "<string>",
"description": "<string>",
"options": {
"connectorUuidsByIntegrationSlug": {},
"modelUuidsByIntegrationSlug": {}
}
}
'{
"release": {
"uuid": "<string>",
"parentUuid": "<string>",
"workspaceUuid": "<string>",
"userUuid": "<string>",
"agentUuid": "<string>",
"description": "<string>",
"templateSlug": "<string>",
"version": "<string>",
"status": "draft",
"tools": [
{
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"isBulkAllowed": true,
"config": {},
"kind": "<string>",
"toolUuid": "<string>",
"templateSlug": "<string>"
}
],
"resources": [
{
"kind": "<string>",
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"integrationSlug": "<string>",
"modelUuid": "<string>",
"filter": {
"conjonction": "or",
"groups": [
"<unknown>"
]
},
"selectedColumnSlugs": [
"<string>"
],
"limit": 123,
"prompt": "<string>"
}
],
"capabilities": [
{
"slug": "<string>"
}
],
"suggestedActions": [
{
"text": "<string>",
"tools": [
{
"slug": "<string>"
}
]
}
],
"systemPrompt": "<string>",
"withReasoning": true,
"temperature": 123,
"maxSteps": 123,
"integrationSlug": "<string>",
"connectorUuid": "<string>",
"languageModelSlug": "<string>",
"mcpClients": [
{
"name": "<string>",
"url": "<string>",
"authentication": {
"issuedAt": "<string>",
"accessToken": "<string>",
"expiresIn": 123,
"refreshToken": "<string>",
"scope": "<string>",
"tokenType": "<string>",
"clientId": "<string>"
},
"disabledToolSlugs": [
"<string>"
]
}
],
"deployedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}Deploy a draft release
curl --request POST \
--url https://api.getcargo.io/v1/ai/releases/deployDraft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agentUuid": "<string>",
"tools": [
{
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"isBulkAllowed": true,
"config": {},
"kind": "<string>",
"toolUuid": "<string>",
"templateSlug": "<string>"
}
],
"mcpClients": [
{
"name": "<string>",
"url": "<string>",
"authentication": {
"issuedAt": "<string>",
"accessToken": "<string>",
"expiresIn": 123,
"refreshToken": "<string>",
"scope": "<string>",
"tokenType": "<string>",
"clientId": "<string>"
},
"disabledToolSlugs": [
"<string>"
]
}
],
"resources": [
{
"kind": "<string>",
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"integrationSlug": "<string>",
"modelUuid": "<string>",
"filter": {
"conjonction": "or",
"groups": [
"<unknown>"
]
},
"selectedColumnSlugs": [
"<string>"
],
"limit": 123,
"prompt": "<string>"
}
],
"capabilities": [
{
"slug": "<string>"
}
],
"suggestedActions": [
{
"text": "<string>",
"tools": [
{
"slug": "<string>"
}
]
}
],
"integrationSlug": "<string>",
"languageModelSlug": "<string>",
"version": "<string>",
"systemPrompt": "<string>",
"withReasoning": true,
"temperature": 123,
"maxSteps": 123,
"connectorUuid": "<string>",
"description": "<string>",
"options": {
"connectorUuidsByIntegrationSlug": {},
"modelUuidsByIntegrationSlug": {}
}
}
'{
"release": {
"uuid": "<string>",
"parentUuid": "<string>",
"workspaceUuid": "<string>",
"userUuid": "<string>",
"agentUuid": "<string>",
"description": "<string>",
"templateSlug": "<string>",
"version": "<string>",
"status": "draft",
"tools": [
{
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"isBulkAllowed": true,
"config": {},
"kind": "<string>",
"toolUuid": "<string>",
"templateSlug": "<string>"
}
],
"resources": [
{
"kind": "<string>",
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"integrationSlug": "<string>",
"modelUuid": "<string>",
"filter": {
"conjonction": "or",
"groups": [
"<unknown>"
]
},
"selectedColumnSlugs": [
"<string>"
],
"limit": 123,
"prompt": "<string>"
}
],
"capabilities": [
{
"slug": "<string>"
}
],
"suggestedActions": [
{
"text": "<string>",
"tools": [
{
"slug": "<string>"
}
]
}
],
"systemPrompt": "<string>",
"withReasoning": true,
"temperature": 123,
"maxSteps": 123,
"integrationSlug": "<string>",
"connectorUuid": "<string>",
"languageModelSlug": "<string>",
"mcpClients": [
{
"name": "<string>",
"url": "<string>",
"authentication": {
"issuedAt": "<string>",
"accessToken": "<string>",
"expiresIn": 123,
"refreshToken": "<string>",
"scope": "<string>",
"tokenType": "<string>",
"clientId": "<string>"
},
"disabledToolSlugs": [
"<string>"
]
}
],
"deployedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request body schema.
Agent identifier.
Tools available in the release.
Show child attributes
MCP clients available in the release.
Show child attributes
Resources available in the release.
Show child attributes
Capabilities available in the release.
Show child attributes
Suggested actions to include.
Show child attributes
Integration identifier.
Language model identifier.
Release version.
System prompt for the release.
Whether to include reasoning.
Sampling temperature.
Maximum number of steps.
Connector identifier.
Release description.
Release options.
Show child attributes
Successful response
Deployed release details.
Show child attributes
Was this page helpful?