Skip to main content
POST
/
agents
/
{agentId}
/
share
Share a custom agent with the organization (admin only)
curl --request POST \
  --url https://api.artosai.com/agents/{agentId}/share \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scope": "<string>"
}
'
{
  "message": "<string>",
  "agentId": "<string>",
  "scope": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required

Body

application/json
scope
string
required

Visibility scope (e.g. "organization").

Response

200 - application/json

Agent shared

message
string
agentId
string
scope
string