Config Assets
Set the workspaces an agent is available in
Section titled “Set the workspaces an agent is available in”PUT /api/v1/instance/config/agents/{name}/availability
- Operation
config_agents.set_availability- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:write- Rights
agent.write- Effect
- changing
- Rate class
- write
Parameters
namestring in path, required
Request body
application/json: SetConfigAgentAvailabilityRequest
Answers
200The resultapplication/json: AgentAvailability400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
List agents and skills with their revisions
Section titled “List agents and skills with their revisions”GET /api/v1/instance/config/assets
- Operation
config_assets.get_overview- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:read- Rights
agent.read,skill.read- Effect
- reading
- Rate class
- read
Answers
200The resultapplication/json: ConfigAssetsOverview400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Read one agent or skill
Section titled “Read one agent or skill”GET /api/v1/instance/config/assets/{kind}/{name}
- Operation
config_assets.get- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:read- Effect
- reading
- Rate class
- read
Parameters
kindstring in path, requirednamestring in path, required
Answers
200The resultapplication/json: ConfigAsset400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.404NOT_FOUND: The resource does not exist, is not visible to the caller, or the instance runs without this operation.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Create or replace one agent or skill
Section titled “Create or replace one agent or skill”PUT /api/v1/instance/config/assets/{kind}/{name}
- Operation
config_assets.put- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:write- Effect
- changing
- Rate class
- write
Parameters
kindstring in path, requirednamestring in path, required
Request body
application/json: PutConfigAssetRequest
Answers
200The resultapplication/json: PutConfigAssetResponse400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.409CONFLICT: The request conflicts with the current state of the resource.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Delete one agent or skill
Section titled “Delete one agent or skill”POST /api/v1/instance/config/assets/{kind}/{name}/delete
- Operation
config_assets.delete- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:write- Effect
- changing
- Rate class
- write
Parameters
kindstring in path, requirednamestring in path, required
Request body
application/json: ConfigAssetMutationVersionRequest
Answers
200The resultapplication/json: ConfigAssetMutationVersionResponse400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.404NOT_FOUND: The resource does not exist, is not visible to the caller, or the instance runs without this operation.409CONFLICT: The request conflicts with the current state of the resource.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Restore an earlier revision of one agent or skill
Section titled “Restore an earlier revision of one agent or skill”POST /api/v1/instance/config/assets/{kind}/{name}/revert
- Operation
config_assets.revert- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:write- Effect
- changing
- Rate class
- write
Parameters
kindstring in path, requirednamestring in path, required
Request body
application/json: RevertConfigAssetRequest
Answers
200The resultapplication/json: PutConfigAssetResponse400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.404NOT_FOUND: The resource does not exist, is not visible to the caller, or the instance runs without this operation.409CONFLICT: The request conflicts with the current state of the resource.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
List the revisions of one agent or skill
Section titled “List the revisions of one agent or skill”GET /api/v1/instance/config/assets/{kind}/{name}/revisions
- Operation
config_assets.revisions.list- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:read- Effect
- reading
- Rate class
- read
Parameters
kindstring in path, requirednamestring in path, requiredlimitinteger in query, optional, default50, minimum1, maximum200cursorstring in query, optional, minLength1
Answers
200One page of the listapplication/json: objectitemsarray of ConfigAssetRevision requirednextCursorstring optional
400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Set or clear the default agent
Section titled “Set or clear the default agent”PUT /api/v1/instance/config/default-agent
- Operation
config_agents.set_default- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:write- Rights
agent.write- Effect
- changing
- Rate class
- write
Request body
application/json: SetDefaultConfigAgentRequest
Answers
200The resultapplication/json: ConfigAssetMutationVersionResponse400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.409CONFLICT: The request conflicts with the current state of the resource.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Export every agent and skill as one bundle
Section titled “Export every agent and skill as one bundle”GET /api/v1/instance/config/export
- Operation
config_assets.export- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:read- Rights
agent.read,skill.read- Effect
- reading
- Rate class
- read
Answers
200The resultapplication/json: ExportConfigAssetsResponse400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Apply a bundle of agents and skills from a release
Section titled “Apply a bundle of agents and skills from a release”POST /api/v1/instance/config/import
- Operation
config_assets.replace- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:release- Rights
assets.release- Effect
- changing
- Rate class
- write
Request body
application/json: ReplaceConfigAssetsRequest
Answers
200The resultapplication/json: ReplaceConfigAssetsResponse400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.409CONFLICT: The request conflicts with the current state of the resource.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
Check a bundle of agents and skills without applying it
Section titled “Check a bundle of agents and skills without applying it”POST /api/v1/instance/config/validate
- Operation
config_assets.validate- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:release- Rights
assets.release- Effect
- reading
- Rate class
- read
Request body
application/json: ConfigAssetBundle
Answers
200The resultapplication/json: ValidateConfigAssetsResponse400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.
List the Shared Workspaces an agent can be made available in
Section titled “List the Shared Workspaces an agent can be made available in”GET /api/v1/instance/workspaces
- Operation
instance.workspaces.list- Accepts
sessionCookie,sessionToken,accessToken- Scope
config_assets:write- Rights
agent.write- Effect
- reading
- Rate class
- read
Parameters
limitinteger in query, optional, default50, minimum1, maximum200cursorstring in query, optional, minLength1
Answers
200One page of the listapplication/json: objectitemsarray of AdministeredCollaborationWorkspace requirednextCursorstring optional
400BAD_REQUEST: The request cannot be read.401UNAUTHENTICATED: No credential was presented, or the credential is not valid.403FORBIDDEN: The caller lacks the scope or the right this operation requires.422VALIDATION_FAILED: Path, query or body do not match the operation's schema.429RATE_LIMITED: The caller sent too many requests of this operation's rate class.details.retryAfterSecondsand theRetry-Afterheader give the seconds to wait. The numbers are the instance's, set underrateLimitsin its release config.500INTERNAL: The instance failed. The message never carries details.