FruxonDocs
AgentsRevisions

Creates a new agent revision.

Creates a draft revision with the specified configuration. The revision is not active until deployed via the deploy endpoint.

POST
/v1/tenants/{tenant}/agents/{agent}/revisions
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

agent*string

The unique identifier of the agent.

tenant*string

The tenant identifier

The revision configuration.

comment?string|null
definition*

The semantic configuration of a standalone Agent. It intentionally has no graph step type, identifier, name, edge, or boundary-node fields.

parametersMetadata?|null
integrationSlots?|null
integrationBindings?|null
assets?|null
slots?|null
[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/agents/string/revisions" \  -H "Content-Type: application/json" \  -d '{    "definition": {}  }'
{
  "agentId": "string",
  "revision": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}