Register a customer support demo agent instance with support-copilot span schemas
POST /api/v1/playground/register_customer_support_agent_instance
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”A valid agent ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyResponses
Section titled “ Responses ”Success
object
object
A valid account ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyAgent deployments whose current version uses this schema version (empty if none).
External identifier for the agent schema version
Example
v0Count of rows sharing this external identifier (helps distinguish duplicates).
A valid agent schema version ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyWhen the agent schema version was created
Example
2024-01-01T00:00:00ZMap of span type names to their params and result JSON schemas
object
object
object
object
Creates data
Example
unknownDestroys data
Example
unknownSends external communications
Example
unknownPerforms financial transactions
Example
unknownReads data
Example
unknownUpdates data
Example
unknownobject
Authentication and secrets present
Example
unknownBehavioural and inferred data present
Example
unknownClassification level
Example
unknownContact information present
Example
unknownCriminal justice data present
Example
unknownFinancial information present
Example
unknownGDPR: biometric data for identification
Example
unknownGDPR: genetic data
Example
unknownGDPR: political opinions
Example
unknownGDPR: racial or ethnic origin
Example
unknownGDPR: religious or philosophical beliefs
Example
unknownGDPR: sex life or sexual orientation
Example
unknownGDPR: trade union membership
Example
unknownHealth and medical data present
Example
unknownLocation and tracking data present
Example
unknownMinors data present
Example
unknownOrganisational confidential data present
Example
unknownPersonal identifiers present
Example
unknownobject
Authentication and secrets present
Example
unknownBehavioural and inferred data present
Example
unknownClassification level
Example
unknownContact information present
Example
unknownCriminal justice data present
Example
unknownFinancial information present
Example
unknownGDPR: biometric data for identification
Example
unknownGDPR: genetic data
Example
unknownGDPR: political opinions
Example
unknownGDPR: racial or ethnic origin
Example
unknownGDPR: religious or philosophical beliefs
Example
unknownGDPR: sex life or sexual orientation
Example
unknownGDPR: trade union membership
Example
unknownHealth and medical data present
Example
unknownLocation and tracking data present
Example
unknownMinors data present
Example
unknownOrganisational confidential data present
Example
unknownPersonal identifiers present
Example
unknownSpan type name
JSON schema for the span payload
object
JSON schema for the span result payload (defaults to empty object if omitted when creating)
object
Human-readable title (defaults to name)
Example
{ "llm": { "name": "llm", "params_schema": { "properties": { "max_tokens": { "type": "integer" }, "model": { "type": "string" }, "temperature": { "type": "number" } }, "type": "object" }, "result_schema": { "properties": { "tokens": { "type": "integer" } }, "type": "object" } }, "tool": { "name": "tool", "params_schema": { "properties": { "input": { "type": "object" }, "name": { "type": "string" } }, "type": "object" }, "result_schema": { "additionalProperties": false, "type": "object" } }}Type of resource (always ‘agent_schema_version’)
Example
agent_schema_versionWhen the agent schema version was last updated
Example
2024-01-01T00:00:00Zobject
A valid account ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent schema version ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyAgent deployments that pin this version as their current version (empty if none).
External identifier for the agent version
Example
v1.0.0Count of rows sharing this external identifier (helps distinguish duplicates).
A valid agent version ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyWhen the agent version was created
Example
2024-01-01T00:00:00Zobject
List of package name and version strings (e.g. “package@1.0.0”)
Null
List of package name and version strings (e.g. “package@1.0.0”)
Null
Null
Type of resource (always ‘agent_version’)
Example
agent_versionWhen the agent version was last updated
Example
2024-01-01T00:00:00Zobject
A valid account ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent deployment ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent version ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid environment ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyA valid agent instance ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyWhen the agent instance was created
Example
2024-01-01T00:00:00Zobject
Number of spans with status active (running)
Example
2Number of spans with status cancelled
Number of spans with status complete
Example
5Number of spans with status failed
Number of spans in a finished state (complete + failed + cancelled)
Example
5Number of spans with status pending
Total number of agent spans
Example
10Status of the agent instance: ‘pending’ (not started yet), ‘active’ (started but not finished), ‘complete’ (finished successfully), ‘failed’ (ended with failure), ‘cancelled’ (never started, cancelled), or ‘terminated’ (externally terminated)
Example
activeType of resource (always ‘agent_instance’)
Example
agent_instanceWhen the agent instance was last updated
Example
2024-01-01T00:00:00ZExample
successdefault
Section titled “default ”Error
object
Example
bad_requestExample
errorobject
Example
validation_errorsExample
error