Scale AI · Schema
Span
Data EngineLabelingRLHFGenAI PlatformDonovanDefense AILiDARSensor FusionREST API
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| trace_id | string | Unique identifier for the trace this span belongs to |
| task_id | object | ID of the task this span belongs to |
| parent_id | object | ID of the parent span if this is a child span in a trace |
| name | string | Name that describes what operation this span represents |
| start_time | string | The time the span started |
| end_time | object | The time the span ended |
| input | object | Input parameters or data for the operation |
| output | object | Output data resulting from the operation |
| data | object | Any additional metadata or context for the span |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/scale-ai/json-schema/scale-ai-span-schema.json",
"title": "Span",
"x-generated": "2026-10-27",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/scale-ai-agentex-openapi.yml#/components/schemas/Span",
"properties": {
"id": {
"type": "string",
"title": "Unique Span ID"
},
"trace_id": {
"type": "string",
"title": "The trace ID for this span",
"description": "Unique identifier for the trace this span belongs to"
},
"task_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "The task ID this span is associated with",
"description": "ID of the task this span belongs to"
},
"parent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "The parent span ID if this is a child span",
"description": "ID of the parent span if this is a child span in a trace"
},
"name": {
"type": "string",
"title": "The name of the span",
"description": "Name that describes what operation this span represents"
},
"start_time": {
"type": "string",
"format": "date-time",
"title": "The start time of the span",
"description": "The time the span started"
},
"end_time": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "The end time of the span",
"description": "The time the span ended"
},
"input": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "The input data for the span",
"description": "Input parameters or data for the operation"
},
"output": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "The output data from the span",
"description": "Output data resulting from the operation"
},
"data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Additional data associated with the span",
"description": "Any additional metadata or context for the span"
}
},
"type": "object",
"required": [
"id",
"trace_id",
"name",
"start_time"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/scale-ai-span"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.