Create TaskAgent Share

Create a public share link for a TaskAgent revision. Requires `task_agent:edit` on the parent TaskAgent. If `task_agent_revision_id` is omitted, the active revision is shared. Custom short IDs must be unique and match the schema constraints; generated short IDs use high-entropy random characters. TaskAgent shares cannot include Task-tool revisions backed by RAG collections, including disabled Task-tool attachments, because those collections are project-local and are not cloned. TaskAgent shares also cannot include deleted Task-tool dependencies.

Authentication

AuthorizationBearer

Bearer token authentication using JWT tokens from Ory Kratos/Hydra

Path parameters

org_idstringRequiredformat: "uuid"
The organization ID
project_idstringRequiredformat: "uuid"
The project ID
task_agent_idstringRequiredformat: "uuid"
The task agent ID

Request

This endpoint expects an object.
titlestring or nullOptional<=255 characters
descriptionstring or nullOptional<=1000 characters
expires_atstring or nullOptionalformat: "date-time"
task_agent_revision_idstring or nullOptionalformat: "uuid"
Optional pinned TaskAgent revision. Defaults to the active revision.
custom_short_idstring or nullOptionalformat: "^[a-zA-Z0-9_-]+$"3-64 characters
Optional custom public short ID.

Response

TaskAgent share created
idstringformat: "uuid"
project_idstringformat: "uuid"
task_agent_idstringformat: "uuid"
task_agent_revision_idstringformat: "uuid"
user_idstringformat: "uuid"
task_agent_namestring
short_idstring
views_countinteger
activeboolean
createdstring
share_urlstringRead-only
titlestring or null<=255 characters
descriptionstring or null<=1000 characters
expires_atstring or null
modifiedstring or null

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error