Menu QaldyDocs

agent tools

7 routes, from the API’s own OpenAPI document.

7 routes. Every path starts at https://cloud-api.qaldy.com. Sign-in, tokens, errors and limits are on the overview.

Routes

MethodPathWhat it does
GET/​v1/​automations/​{id}/​agent-toolWhat to read before publishing an automation as a tool: the permissions of the app that runs, a suggested name and schema, and the published tool if there is one
PUT/​v1/​automations/​{id}/​agent-toolPublish an automation as a tool, or change the published one. The body carries the hash of the permissions the person read.
PATCH/​v1/​automations/​{id}/​agent-toolSwitch a published tool off or on. Switching on needs the permissions to be current.
DELETE/​v1/​automations/​{id}/​agent-toolTake an automation back from the agents: it stays an automation
POST/​v1/​automations/​{id}/​agent-tool/​runsCall a published tool: starts the automation through the normal run path, as the person asking
GET/​v1/​workspaces/​{ws}/​agent-eventsWhat needs the connected agent: finished and failed runs, approvals, alerts
GET/​v1/​workspaces/​{ws}/​agent-toolsPublished tools you can see, with whether you can run each. An agent lists the live ones it can run.

Reference

GET /v1/automations/{id}/agent-tool

What to read before publishing an automation as a tool: the permissions of the app that runs, a suggested name and schema, and the published tool if there is one.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: can_view on every app it stops at
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
automationIdstringyesat least 1 characters
automationNamestringyesat least 1 characters
appIdstring or nullyes
appNamestring or nullyes
blocked"no_app" · "not_deployed" · "no_input_path" · "not_runnable" · null or nullyes
manifestobject or nullyes
manifest.namestringyes2 to 60 characters
manifest.descriptionstringyes4 to 280 characters
manifest.archetype"kiosk" · "tower" · "warehouse" · "workshop" · "bank" · "townhall" · "clocktower" · "printhouse" · …yes
manifest.category"interface" · "data" · "messaging" · "money" · "ai" · "time" · "people" · "growth"yes
manifest.permissionsobjectyes
manifest.triggersobject[]yes
manifest.sharingobjectyes
manifest.roiobjectyes
hashstring or nullyes
suggestedobjectyes
suggested.namestringyes
suggested.titlestringyes1 to 60 characters
suggested.descriptionstringyes1 to 400 characters
suggested.inputSchemaobjectyes
startsAs"manual" · "webhook" · "form" · "schedule" · null or nullyes
publishedobject or nullyes
published.idstringyesat least 1 characters
published.automationIdstringyesat least 1 characters
published.automationNamestringyesat least 1 characters
published.appIdstringyesat least 1 characters
published.appNamestringyesat least 1 characters
published.namestringyes
published.titlestringyes1 to 60 characters
published.descriptionstringyes1 to 400 characters

…and 9 more fields. The full schema is in openapi.json.

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

PUT /v1/automations/{id}/agent-tool

Publish an automation as a tool, or change the published one. The body carries the hash of the permissions the person read..

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: can_edit on the driving app; console only
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
namestringyes
titlestringyes1 to 60 characters
descriptionstringyes8 to 400 characters
inputSchemaobjectyes
inputSchema.type"object"yes
inputSchema.propertiesmap of objectyes
inputSchema.requiredstring[]up to 20 items
inputSchema.additionalPropertiesfalse
reviewedHashstringyes
enabledbooleandefault true

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
automationIdstringyesat least 1 characters
automationNamestringyesat least 1 characters
appIdstringyesat least 1 characters
appNamestringyesat least 1 characters
namestringyes
titlestringyes1 to 60 characters
descriptionstringyes1 to 400 characters
inputSchemaobjectyes
inputSchema.type"object"yes
inputSchema.propertiesmap of objectyes
inputSchema.requiredstring[]up to 20 items
inputSchema.additionalPropertiesfalse
state"live" · "off" · "needs_review" · "paused"yes
canRunbooleanyes
canEditbooleanyes
reviewedAtstring (date-time)yes
reviewedBystringyesat least 1 characters
publishedAtstring (date-time)yes
callsWeekintegeryesat least 0
lastCalledAtstring (date-time) or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

PATCH /v1/automations/{id}/agent-tool

Switch a published tool off or on. Switching on needs the permissions to be current..

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: can_edit; console only
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
enabledbooleanyes

Response 200

FieldTypeRequiredNotes
idstringyesat least 1 characters
automationIdstringyesat least 1 characters
automationNamestringyesat least 1 characters
appIdstringyesat least 1 characters
appNamestringyesat least 1 characters
namestringyes
titlestringyes1 to 60 characters
descriptionstringyes1 to 400 characters
inputSchemaobjectyes
inputSchema.type"object"yes
inputSchema.propertiesmap of objectyes
inputSchema.requiredstring[]up to 20 items
inputSchema.additionalPropertiesfalse
state"live" · "off" · "needs_review" · "paused"yes
canRunbooleanyes
canEditbooleanyes
reviewedAtstring (date-time)yes
reviewedBystringyesat least 1 characters
publishedAtstring (date-time)yes
callsWeekintegeryesat least 0
lastCalledAtstring (date-time) or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

DELETE /v1/automations/{id}/agent-tool

Take an automation back from the agents: it stays an automation.

  • Authentication: the console’s session cookie.
  • Token: not available. This route is for a signed-in person in the console (403 console_only for a token).
  • Who: can_edit; console only
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
oktrueyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

POST /v1/automations/{id}/agent-tool/runs

Call a published tool: starts the automation through the normal run path, as the person asking.

  • Authentication: the console’s session cookie.
  • Token: a personal access token or an MCP sign-in with the write scope.
  • Who: can_run; tokens need write
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
inputmap of any or nulldefault [object Object]

Response 200

FieldTypeRequiredNotes
runIdstringyesat least 1 characters
toolNamestringyes
automationIdstringyesat least 1 characters
heldboolean

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

GET /v1/workspaces/{ws}/agent-events

What needs the connected agent: finished and failed runs, approvals, alerts.

  • Authentication: the console’s session cookie.
  • Token: a personal access token or an MCP sign-in with the read scope.
  • Who: member; tokens need read
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters
sincequeryinteger or nullat least 0
waitqueryinteger or null0 to 25. default 0

Response 200

FieldTypeRequiredNotes
itemsobject[]yesup to 100 items
items[].seqintegeryesat least 1
items[].atstring (date-time)yes
items[].kind"run_finished" · "run_failed" · "approval_needed" · "alert"yes
items[].alert"app_failing" · "automation_failing" · "connector_down" · "blocked_call" · "cap_reached" · null or nullyes
items[].appIdstring or nullyes
items[].appNamestring or nullyes
items[].runIdstring or nullyes
items[].approvalIdstring or nullyes
items[].codestring or nullyesup to 64 characters
items[].askedByAgentbooleanyes
cursorintegeryesat least 0

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

GET /v1/workspaces/{ws}/agent-tools

Published tools you can see, with whether you can run each. An agent lists the live ones it can run..

  • Authentication: the console’s session cookie.
  • Token: a personal access token or an MCP sign-in with the read scope.
  • Who: member (only automations you can view); tokens need read
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
itemsobject[]yes
items[].idstringyesat least 1 characters
items[].automationIdstringyesat least 1 characters
items[].automationNamestringyesat least 1 characters
items[].appIdstringyesat least 1 characters
items[].appNamestringyesat least 1 characters
items[].namestringyes
items[].titlestringyes1 to 60 characters
items[].descriptionstringyes1 to 400 characters
items[].inputSchemaobjectyes
items[].state"live" · "off" · "needs_review" · "paused"yes
items[].canRunbooleanyes
items[].canEditbooleanyes
items[].reviewedAtstring (date-time)yes
items[].reviewedBystringyesat least 1 characters
items[].publishedAtstring (date-time)yes
items[].callsWeekintegeryesat least 0
items[].lastCalledAtstring (date-time) or nullyes

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

Type to search. Up and down to choose, Enter to open, Esc to close.