Skip to content

Register a Northstar support sensitive playground agent instance with demo span schemas

POST
/api/v1/playground/register_northstar_support_agent_instance
curl --request POST \
--url https://app.prefactorai.com/api/v1/playground/register_northstar_support_agent_instance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '"013xrzp12g3nqk8ns6jadrqmpgrjkeny"'
Agent_Id

A valid agent ID

string
Example
013xrzp12g3nqk8ns6jadrqmpgrjkeny

Success

Media typeapplication/json
object
agent_schema_version
AgentSchemaVersion_Details
object
account_id
Account_Id

A valid account ID

string
agent_id
Agent_Id

A valid agent ID

string
alert_schemas

Map of alert schema names to their schemas and optional title, description, template and data_risk

object
key
additional properties
SchemaDetails
object
data_risk
DataRisk
object
action_profile
required
ActionProfile
object
create_data
required

Creates data

string
Allowed values: unknown allowed disallowed
destroy_data
required

Destroys data

string
Allowed values: unknown allowed disallowed
external_communication
required

Sends external communications

string
Allowed values: unknown allowed disallowed
financial_transactions
required

Performs financial transactions

string
Allowed values: unknown allowed disallowed
read_data
required

Reads data

string
Allowed values: unknown allowed disallowed
update_data
required

Updates data

string
Allowed values: unknown allowed disallowed
params_data_categories
required
DataCategories
object
authentication_and_secrets
required

Authentication and secrets present

string
Allowed values: unknown included excluded
behavioural_and_inferred
required

Behavioural and inferred data present

string
Allowed values: unknown included excluded
classification
required

Classification level

string
Allowed values: unknown public internal confidential restricted secret
contact_information
required

Contact information present

string
Allowed values: unknown included excluded
criminal_justice
required

Criminal justice data present

string
Allowed values: unknown included excluded
financial_information
required

Financial information present

string
Allowed values: unknown included excluded
gdpr_biometric_for_identification
required

GDPR: biometric data for identification

string
Allowed values: unknown included excluded
gdpr_genetic_data
required

GDPR: genetic data

string
Allowed values: unknown included excluded
gdpr_political_opinions
required

GDPR: political opinions

string
Allowed values: unknown included excluded
gdpr_racial_or_ethnic_origin
required

GDPR: racial or ethnic origin

string
Allowed values: unknown included excluded
gdpr_religious_or_philosophical_beliefs
required

GDPR: religious or philosophical beliefs

string
Allowed values: unknown included excluded
gdpr_sex_life_or_sexual_orientation
required

GDPR: sex life or sexual orientation

string
Allowed values: unknown included excluded
gdpr_trade_union_membership
required

GDPR: trade union membership

string
Allowed values: unknown included excluded
health_and_medical
required

Health and medical data present

string
Allowed values: unknown included excluded
location_and_tracking
required

Location and tracking data present

string
Allowed values: unknown included excluded
minors_data
required

Minors data present

string
Allowed values: unknown included excluded
organisational_confidential
required

Organisational confidential data present

string
Allowed values: unknown included excluded
personal_identifiers
required

Personal identifiers present

string
Allowed values: unknown included excluded
result_data_categories
required
DataCategories
object
authentication_and_secrets
required

Authentication and secrets present

string
Allowed values: unknown included excluded
behavioural_and_inferred
required

Behavioural and inferred data present

string
Allowed values: unknown included excluded
classification
required

Classification level

string
Allowed values: unknown public internal confidential restricted secret
contact_information
required

Contact information present

string
Allowed values: unknown included excluded
criminal_justice
required

Criminal justice data present

string
Allowed values: unknown included excluded
financial_information
required

Financial information present

string
Allowed values: unknown included excluded
gdpr_biometric_for_identification
required

GDPR: biometric data for identification

string
Allowed values: unknown included excluded
gdpr_genetic_data
required

GDPR: genetic data

string
Allowed values: unknown included excluded
gdpr_political_opinions
required

GDPR: political opinions

string
Allowed values: unknown included excluded
gdpr_racial_or_ethnic_origin
required

GDPR: racial or ethnic origin

string
Allowed values: unknown included excluded
gdpr_religious_or_philosophical_beliefs
required

GDPR: religious or philosophical beliefs

string
Allowed values: unknown included excluded
gdpr_sex_life_or_sexual_orientation
required

GDPR: sex life or sexual orientation

string
Allowed values: unknown included excluded
gdpr_trade_union_membership
required

GDPR: trade union membership

string
Allowed values: unknown included excluded
health_and_medical
required

Health and medical data present

string
Allowed values: unknown included excluded
location_and_tracking
required

Location and tracking data present

string
Allowed values: unknown included excluded
minors_data
required

Minors data present

string
Allowed values: unknown included excluded
organisational_confidential
required

Organisational confidential data present

string
Allowed values: unknown included excluded
personal_identifiers
required

Personal identifiers present

string
Allowed values: unknown included excluded
description
One of:

Optional description

string
name

Schema name (key)

string
schema

JSON schema for the payload. Title and description are sibling fields on this object and are not present inside schema.

object
key
additional properties
any
schema_validation
SchemaValidationResult

Result of validating a JSON schema

object
message
One of:

Validation error message when status is ‘error’

string
status

Whether the schema is valid

string
Allowed values: success error
template
One of:

Display template. Use {{field}} to interpolate payload fields.

string
title

Human-readable title (defaults to name)

string
current_agent_deployment_refs

Agent deployments whose current version uses this schema version (empty if none).

Array<string>
external_identifier

External identifier for the agent schema version

string
external_identifier_repeats

Count of rows sharing this external identifier (helps distinguish duplicates).

integer
id
AgentSchemaVersion_Id

A valid agent schema version ID

string
inserted_at

When the agent schema version was created

string format: date-time
quality_schemas

Map of quality schema names to their schemas and optional title, description, template and data_risk

object
key
additional properties
SchemaDetails
object
data_risk
DataRisk
object
action_profile
required
ActionProfile
object
create_data
required

Creates data

string
Allowed values: unknown allowed disallowed
destroy_data
required

Destroys data

string
Allowed values: unknown allowed disallowed
external_communication
required

Sends external communications

string
Allowed values: unknown allowed disallowed
financial_transactions
required

Performs financial transactions

string
Allowed values: unknown allowed disallowed
read_data
required

Reads data

string
Allowed values: unknown allowed disallowed
update_data
required

Updates data

string
Allowed values: unknown allowed disallowed
params_data_categories
required
DataCategories
object
authentication_and_secrets
required

Authentication and secrets present

string
Allowed values: unknown included excluded
behavioural_and_inferred
required

Behavioural and inferred data present

string
Allowed values: unknown included excluded
classification
required

Classification level

string
Allowed values: unknown public internal confidential restricted secret
contact_information
required

Contact information present

string
Allowed values: unknown included excluded
criminal_justice
required

Criminal justice data present

string
Allowed values: unknown included excluded
financial_information
required

Financial information present

string
Allowed values: unknown included excluded
gdpr_biometric_for_identification
required

GDPR: biometric data for identification

string
Allowed values: unknown included excluded
gdpr_genetic_data
required

GDPR: genetic data

string
Allowed values: unknown included excluded
gdpr_political_opinions
required

GDPR: political opinions

string
Allowed values: unknown included excluded
gdpr_racial_or_ethnic_origin
required

GDPR: racial or ethnic origin

string
Allowed values: unknown included excluded
gdpr_religious_or_philosophical_beliefs
required

GDPR: religious or philosophical beliefs

string
Allowed values: unknown included excluded
gdpr_sex_life_or_sexual_orientation
required

GDPR: sex life or sexual orientation

string
Allowed values: unknown included excluded
gdpr_trade_union_membership
required

GDPR: trade union membership

string
Allowed values: unknown included excluded
health_and_medical
required

Health and medical data present

string
Allowed values: unknown included excluded
location_and_tracking
required

Location and tracking data present

string
Allowed values: unknown included excluded
minors_data
required

Minors data present

string
Allowed values: unknown included excluded
organisational_confidential
required

Organisational confidential data present

string
Allowed values: unknown included excluded
personal_identifiers
required

Personal identifiers present

string
Allowed values: unknown included excluded
result_data_categories
required
DataCategories
object
authentication_and_secrets
required

Authentication and secrets present

string
Allowed values: unknown included excluded
behavioural_and_inferred
required

Behavioural and inferred data present

string
Allowed values: unknown included excluded
classification
required

Classification level

string
Allowed values: unknown public internal confidential restricted secret
contact_information
required

Contact information present

string
Allowed values: unknown included excluded
criminal_justice
required

Criminal justice data present

string
Allowed values: unknown included excluded
financial_information
required

Financial information present

string
Allowed values: unknown included excluded
gdpr_biometric_for_identification
required

GDPR: biometric data for identification

string
Allowed values: unknown included excluded
gdpr_genetic_data
required

GDPR: genetic data

string
Allowed values: unknown included excluded
gdpr_political_opinions
required

GDPR: political opinions

string
Allowed values: unknown included excluded
gdpr_racial_or_ethnic_origin
required

GDPR: racial or ethnic origin

string
Allowed values: unknown included excluded
gdpr_religious_or_philosophical_beliefs
required

GDPR: religious or philosophical beliefs

string
Allowed values: unknown included excluded
gdpr_sex_life_or_sexual_orientation
required

GDPR: sex life or sexual orientation

string
Allowed values: unknown included excluded
gdpr_trade_union_membership
required

GDPR: trade union membership

string
Allowed values: unknown included excluded
health_and_medical
required

Health and medical data present

string
Allowed values: unknown included excluded
location_and_tracking
required

Location and tracking data present

string
Allowed values: unknown included excluded
minors_data
required

Minors data present

string
Allowed values: unknown included excluded
organisational_confidential
required

Organisational confidential data present

string
Allowed values: unknown included excluded
personal_identifiers
required

Personal identifiers present

string
Allowed values: unknown included excluded
description
One of:

Optional description

string
name

Schema name (key)

string
schema

JSON schema for the payload. Title and description are sibling fields on this object and are not present inside schema.

object
key
additional properties
any
schema_validation
SchemaValidationResult

Result of validating a JSON schema

object
message
One of:

Validation error message when status is ‘error’

string
status

Whether the schema is valid

string
Allowed values: success error
template
One of:

Display template. Use {{field}} to interpolate payload fields.

string
title

Human-readable title (defaults to name)

string
span_type_schemas

Map of span type names to their params and result JSON schemas

object
key
additional properties
SpanTypeSchemaDetails
object
data_risk
DataRisk
object
action_profile
required
ActionProfile
object
create_data
required

Creates data

string
Allowed values: unknown allowed disallowed
destroy_data
required

Destroys data

string
Allowed values: unknown allowed disallowed
external_communication
required

Sends external communications

string
Allowed values: unknown allowed disallowed
financial_transactions
required

Performs financial transactions

string
Allowed values: unknown allowed disallowed
read_data
required

Reads data

string
Allowed values: unknown allowed disallowed
update_data
required

Updates data

string
Allowed values: unknown allowed disallowed
params_data_categories
required
DataCategories
object
authentication_and_secrets
required

Authentication and secrets present

string
Allowed values: unknown included excluded
behavioural_and_inferred
required

Behavioural and inferred data present

string
Allowed values: unknown included excluded
classification
required

Classification level

string
Allowed values: unknown public internal confidential restricted secret
contact_information
required

Contact information present

string
Allowed values: unknown included excluded
criminal_justice
required

Criminal justice data present

string
Allowed values: unknown included excluded
financial_information
required

Financial information present

string
Allowed values: unknown included excluded
gdpr_biometric_for_identification
required

GDPR: biometric data for identification

string
Allowed values: unknown included excluded
gdpr_genetic_data
required

GDPR: genetic data

string
Allowed values: unknown included excluded
gdpr_political_opinions
required

GDPR: political opinions

string
Allowed values: unknown included excluded
gdpr_racial_or_ethnic_origin
required

GDPR: racial or ethnic origin

string
Allowed values: unknown included excluded
gdpr_religious_or_philosophical_beliefs
required

GDPR: religious or philosophical beliefs

string
Allowed values: unknown included excluded
gdpr_sex_life_or_sexual_orientation
required

GDPR: sex life or sexual orientation

string
Allowed values: unknown included excluded
gdpr_trade_union_membership
required

GDPR: trade union membership

string
Allowed values: unknown included excluded
health_and_medical
required

Health and medical data present

string
Allowed values: unknown included excluded
location_and_tracking
required

Location and tracking data present

string
Allowed values: unknown included excluded
minors_data
required

Minors data present

string
Allowed values: unknown included excluded
organisational_confidential
required

Organisational confidential data present

string
Allowed values: unknown included excluded
personal_identifiers
required

Personal identifiers present

string
Allowed values: unknown included excluded
result_data_categories
required
DataCategories
object
authentication_and_secrets
required

Authentication and secrets present

string
Allowed values: unknown included excluded
behavioural_and_inferred
required

Behavioural and inferred data present

string
Allowed values: unknown included excluded
classification
required

Classification level

string
Allowed values: unknown public internal confidential restricted secret
contact_information
required

Contact information present

string
Allowed values: unknown included excluded
criminal_justice
required

Criminal justice data present

string
Allowed values: unknown included excluded
financial_information
required

Financial information present

string
Allowed values: unknown included excluded
gdpr_biometric_for_identification
required

GDPR: biometric data for identification

string
Allowed values: unknown included excluded
gdpr_genetic_data
required

GDPR: genetic data

string
Allowed values: unknown included excluded
gdpr_political_opinions
required

GDPR: political opinions

string
Allowed values: unknown included excluded
gdpr_racial_or_ethnic_origin
required

GDPR: racial or ethnic origin

string
Allowed values: unknown included excluded
gdpr_religious_or_philosophical_beliefs
required

GDPR: religious or philosophical beliefs

string
Allowed values: unknown included excluded
gdpr_sex_life_or_sexual_orientation
required

GDPR: sex life or sexual orientation

string
Allowed values: unknown included excluded
gdpr_trade_union_membership
required

GDPR: trade union membership

string
Allowed values: unknown included excluded
health_and_medical
required

Health and medical data present

string
Allowed values: unknown included excluded
location_and_tracking
required

Location and tracking data present

string
Allowed values: unknown included excluded
minors_data
required

Minors data present

string
Allowed values: unknown included excluded
organisational_confidential
required

Organisational confidential data present

string
Allowed values: unknown included excluded
personal_identifiers
required

Personal identifiers present

string
Allowed values: unknown included excluded
description
One of:

Optional description

string
name

Span type name

string
params_schema

JSON schema for the span payload

object
key
additional properties
any
params_schema_validation
SchemaValidationResult

Result of validating a JSON schema

object
message
One of:

Validation error message when status is ‘error’

string
status

Whether the schema is valid

string
Allowed values: success error
result_schema

JSON schema for the span result payload (defaults to empty object if omitted when creating)

object
key
additional properties
any
result_schema_validation
SchemaValidationResult

Result of validating a JSON schema

object
message
One of:

Validation error message when status is ‘error’

string
status

Whether the schema is valid

string
Allowed values: success error
template
One of:

Display template describing what happened in the span. Use {{field}} to interpolate params and result fields. Use imperative/command tense for params (e.g. “Generate {{content}}”) and past tense for result (e.g. “completed with {{finish_reason}}”).

string
title

Human-readable title (defaults to name)

string
type

Type of resource (always ‘agent_schema_version’)

string
Allowed values: agent_schema_version
updated_at

When the agent schema version was last updated

string format: date-time
agent_version
AgentVersion_Details
object
account_id
Account_Id

A valid account ID

string
agent_id
Agent_Id

A valid agent ID

string
agent_schema_version_id
AgentSchemaVersion_Id

A valid agent schema version ID

string
current_agent_deployment_refs

Agent deployments that pin this version as their current version (empty if none).

Array<string>
external_identifier

External identifier for the agent version

string
external_identifier_repeats

Count of rows sharing this external identifier (helps distinguish duplicates).

integer
id
AgentVersion_Id

A valid agent version ID

string
inserted_at

When the agent version was created

string format: date-time
runtime_environment
One of:
AgentVersion_RuntimeEnvironment
object
agent_sdk
One of:

List of package name and version strings (e.g. “package@1.0.0”)

Array<string>
os
One of:

Operating system (e.g. “linux”)

string
prefactor_sdk
One of:

List of package name and version strings (e.g. “package@1.0.0”)

Array<string>
runtime
One of:

Language runtime version (e.g. “python@3.12”)

string
type

Type of resource (always ‘agent_version’)

string
Allowed values: agent_version
updated_at

When the agent version was last updated

string format: date-time
details
AgentInstance_Details
object
account_id
Account_Id

A valid account ID

string
agent_deployment_id
AgentDeployment_Id

A valid agent deployment ID

string
agent_id
Agent_Id

A valid agent ID

string
agent_version_id
AgentVersion_Id

A valid agent version ID

string
cost_breakdown
One of:
AgentInstance_CostBreakdown
object
cache_read

Total cache-read tokens across all models

integer
cache_read_cost
One of:

Estimated total USD cost for cache-read tokens

number
groups

Per-model breakdown

Array<object>
AgentInstance_CostBreakdown_Group
object
cache_read

Total cache-read tokens for this model

integer
cache_read_cost
One of:

Estimated USD cost for cache-read tokens

number
context_limit
One of:

Context window size from models.dev pricing, when known

integer
input

Total input tokens for this model

integer
input_cost
One of:

Estimated USD cost for input tokens

number
model_name

Model identifier from span payloads

string
output

Total output tokens for this model

integer
output_cost
One of:

Estimated USD cost for output tokens

number
provider
One of:

Provider identifier from span payloads

string
total_cost
One of:

Estimated total USD cost for this model

number
input

Total input tokens across all models

integer
input_cost
One of:

Estimated total USD cost for input tokens

number
output

Total output tokens across all models

integer
output_cost
One of:

Estimated total USD cost for output tokens

number
total_cost
One of:

Estimated total USD cost

number
environment_id
Environment_Id

A valid environment ID

string
finished_at
One of:

When the agent instance finished (null if still in progress)

string format: date-time
id
AgentInstance_Id

A valid agent instance ID

string
inserted_at

When the agent instance was created

string format: date-time
last_activity_span_at
One of:
string format: date-time
purpose

Why this instance ran: ‘live’ for an actual agent run, ‘smoke_test’ for a pipeline check, or ‘eval’ for an evaluation run

string
Allowed values: live smoke_test eval
quality_payloads

Map of quality schema name to evaluation payload for this instance

object
key
additional properties
object
key
additional properties
any
quality_summaries

Map of quality schema name to rendered summary (only names whose template renders)

object
key
additional properties

Human-readable quality summary rendered from the quality schema template using the matching quality payload

string
raised_alert_count
One of:
integer
risk_score
One of:
AgentInstance_RiskScore
object
all_data_categories

Unique included data categories across params and results of span types that ran, in canonical order

Array<string>
Allowed values: personal_identifiers contact_information financial_information health_and_medical criminal_justice authentication_and_secrets organisational_confidential minors_data location_and_tracking behavioural_and_inferred gdpr_racial_or_ethnic_origin gdpr_political_opinions gdpr_religious_or_philosophical_beliefs gdpr_trade_union_membership gdpr_genetic_data gdpr_biometric_for_identification gdpr_sex_life_or_sexual_orientation
allowed_actions

Actions allowed by at least one span type that ran in this instance, in canonical order

Array<string>
Allowed values: create_data read_data update_data destroy_data financial_transactions external_communication
any_assessable

Whether the instance has at least one span type with scoreable data_risk

boolean
critical_threshold

Critical threshold from the agent’s risk profile ruleset

number
peak_classification
One of:

Peak observed data risk classification across all spans in this instance. null if no spans have executed.

string
Allowed values: unknown public internal confidential restricted secret
per_type

Per-schema-type score breakdown

Array<object>
AgentInstance_RiskScore_PerType
object
count

Number of span invocations for this schema type

integer
risk_level

Risk level bucket for this schema type’s per-invocation score

string
Allowed values: low medium high critical
schema_name

Span type schema name

string
total_contribution

Type_score multiplied by count

number
type_score

Risk score for a single invocation of this schema type

number
risk_level
One of:

Overall risk level bucket for this instance, or null when not assessable

string
Allowed values: low medium high critical
total_score

Total risk score across all span types for this instance

number
span_counts
AgentSpan_SpanCounts
object
active

Number of spans with status active (running)

integer
cancelled

Number of spans with status cancelled

integer
complete

Number of spans with status complete

integer
failed

Number of spans with status failed

integer
finished

Number of spans in a finished state (complete + failed + cancelled)

integer
pending

Number of spans with status pending

integer
total

Total number of agent spans

integer
span_schema_counts
One of:
AgentSpan_SpanSchemaCounts
object
by_name

Invocation count keyed by span schema name

object
key
additional properties
integer
started_at
One of:

When the agent instance started (null if not started yet)

string format: date-time
status

Status 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)

string
Allowed values: pending active complete failed cancelled terminated
termination_reason
One of:

Reason for termination (only present when status is ‘terminated’)

string
type

Type of resource (always ‘agent_instance’)

string
Allowed values: agent_instance
updated_at

When the agent instance was last updated

string format: date-time
status
string
Allowed values: success
Example
{
"agent_schema_version": {
"account_id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"agent_id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"alert_schemas": {
"additionalProperty": {
"data_risk": {
"action_profile": {
"create_data": "unknown",
"destroy_data": "unknown",
"external_communication": "unknown",
"financial_transactions": "unknown",
"read_data": "unknown",
"update_data": "unknown"
},
"params_data_categories": {
"authentication_and_secrets": "unknown",
"behavioural_and_inferred": "unknown",
"classification": "unknown",
"contact_information": "unknown",
"criminal_justice": "unknown",
"financial_information": "unknown",
"gdpr_biometric_for_identification": "unknown",
"gdpr_genetic_data": "unknown",
"gdpr_political_opinions": "unknown",
"gdpr_racial_or_ethnic_origin": "unknown",
"gdpr_religious_or_philosophical_beliefs": "unknown",
"gdpr_sex_life_or_sexual_orientation": "unknown",
"gdpr_trade_union_membership": "unknown",
"health_and_medical": "unknown",
"location_and_tracking": "unknown",
"minors_data": "unknown",
"organisational_confidential": "unknown",
"personal_identifiers": "unknown"
},
"result_data_categories": {
"authentication_and_secrets": "unknown",
"behavioural_and_inferred": "unknown",
"classification": "unknown",
"contact_information": "unknown",
"criminal_justice": "unknown",
"financial_information": "unknown",
"gdpr_biometric_for_identification": "unknown",
"gdpr_genetic_data": "unknown",
"gdpr_political_opinions": "unknown",
"gdpr_racial_or_ethnic_origin": "unknown",
"gdpr_religious_or_philosophical_beliefs": "unknown",
"gdpr_sex_life_or_sexual_orientation": "unknown",
"gdpr_trade_union_membership": "unknown",
"health_and_medical": "unknown",
"location_and_tracking": "unknown",
"minors_data": "unknown",
"organisational_confidential": "unknown",
"personal_identifiers": "unknown"
}
},
"description": null,
"schema_validation": {
"message": null,
"status": "success"
},
"template": null
}
},
"current_agent_deployment_refs": [
"013xrzp12g3nqk8ns6jadrqmpgrjkeny"
],
"external_identifier": "v0",
"id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"inserted_at": "2024-01-01T00:00:00Z",
"quality_schemas": {
"additionalProperty": {
"data_risk": {
"action_profile": {
"create_data": "unknown",
"destroy_data": "unknown",
"external_communication": "unknown",
"financial_transactions": "unknown",
"read_data": "unknown",
"update_data": "unknown"
},
"params_data_categories": {
"authentication_and_secrets": "unknown",
"behavioural_and_inferred": "unknown",
"classification": "unknown",
"contact_information": "unknown",
"criminal_justice": "unknown",
"financial_information": "unknown",
"gdpr_biometric_for_identification": "unknown",
"gdpr_genetic_data": "unknown",
"gdpr_political_opinions": "unknown",
"gdpr_racial_or_ethnic_origin": "unknown",
"gdpr_religious_or_philosophical_beliefs": "unknown",
"gdpr_sex_life_or_sexual_orientation": "unknown",
"gdpr_trade_union_membership": "unknown",
"health_and_medical": "unknown",
"location_and_tracking": "unknown",
"minors_data": "unknown",
"organisational_confidential": "unknown",
"personal_identifiers": "unknown"
},
"result_data_categories": {
"authentication_and_secrets": "unknown",
"behavioural_and_inferred": "unknown",
"classification": "unknown",
"contact_information": "unknown",
"criminal_justice": "unknown",
"financial_information": "unknown",
"gdpr_biometric_for_identification": "unknown",
"gdpr_genetic_data": "unknown",
"gdpr_political_opinions": "unknown",
"gdpr_racial_or_ethnic_origin": "unknown",
"gdpr_religious_or_philosophical_beliefs": "unknown",
"gdpr_sex_life_or_sexual_orientation": "unknown",
"gdpr_trade_union_membership": "unknown",
"health_and_medical": "unknown",
"location_and_tracking": "unknown",
"minors_data": "unknown",
"organisational_confidential": "unknown",
"personal_identifiers": "unknown"
}
},
"description": null,
"schema_validation": {
"message": null,
"status": "success"
},
"template": null
}
},
"span_type_schemas": {
"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": "agent_schema_version",
"updated_at": "2024-01-01T00:00:00Z"
},
"agent_version": {
"account_id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"agent_id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"agent_schema_version_id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"current_agent_deployment_refs": [
"013xrzp12g3nqk8ns6jadrqmpgrjkeny"
],
"external_identifier": "v1.0.0",
"id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"inserted_at": "2024-01-01T00:00:00Z",
"runtime_environment": null,
"type": "agent_version",
"updated_at": "2024-01-01T00:00:00Z"
},
"details": {
"account_id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"agent_deployment_id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"agent_id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"agent_version_id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"cost_breakdown": null,
"environment_id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"finished_at": "2024-01-01T00:00:00Z",
"id": "013xrzp12g3nqk8ns6jadrqmpgrjkeny",
"inserted_at": "2024-01-01T00:00:00Z",
"last_activity_span_at": "2024-01-01T00:00:00Z",
"purpose": "live",
"raised_alert_count": null,
"risk_score": null,
"span_counts": {
"active": 2,
"cancelled": 0,
"complete": 5,
"failed": 0,
"finished": 5,
"pending": 0,
"total": 10
},
"span_schema_counts": null,
"started_at": "2024-01-01T00:00:00Z",
"status": "pending",
"termination_reason": "User requested termination",
"type": "agent_instance",
"updated_at": "2024-01-01T00:00:00Z"
},
"status": "success"
}

Error

Media typeapplication/json
One of:
object
code
string
Allowed values: bad_request bad_authtoken not_authenticated not_permitted not_implemented unknown not_found unexpected_ref_type unexpected invalid_action alert_unknown alert_already_cleared invalid_value required_value idempotency_key_already_used
message
string
status
string
Allowed values: error
Example
{
"code": "bad_request",
"status": "error"
}