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

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

OR
AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

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_atdatetime or nullOptional
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 nullOptional<=255 characters
descriptionstring or nullOptional<=1000 characters
expires_atstring or nullOptional
modifiedstring or nullOptional
tagslist of objectsOptional

Errors

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