Home
Encore
Encore Trace Event
Encore Trace Event
Schema describing a single span/event captured by Encore's distributed tracing for an API request, database query, Pub/Sub publish, cron tick, or outbound HTTP call.
Backend Framework Cloud TypeScript Go Developer Tools Infrastructure from Code Microservices Observability Multi-Cloud
Properties
Name
Type
Description
trace_id
string
span_id
string
parent_span_id
stringnull
kind
string
service
string
endpoint
string
started_at
string
duration_ns
integer
status
string
error
objectnull
attributes
object
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/encore-dev/main/json-schema/encore-trace-event-schema.json",
"title": "Encore Trace Event",
"description": "Schema describing a single span/event captured by Encore's distributed tracing for an API request, database query, Pub/Sub publish, cron tick, or outbound HTTP call.",
"type": "object",
"required": ["trace_id", "span_id", "kind", "started_at"],
"properties": {
"trace_id": { "type": "string" },
"span_id": { "type": "string" },
"parent_span_id": { "type": ["string", "null"] },
"kind": {
"type": "string",
"enum": ["api_request", "rpc_call", "db_query", "db_transaction", "pubsub_publish", "pubsub_message", "cron_run", "http_call", "log"]
},
"service": { "type": "string" },
"endpoint": { "type": "string" },
"started_at": { "type": "string", "format": "date-time" },
"duration_ns": { "type": "integer" },
"status": {
"type": "string",
"enum": ["ok", "error"]
},
"error": {
"type": ["object", "null"],
"properties": {
"code": { "type": "string" },
"message": { "type": "string" },
"stack": { "type": "string" }
}
},
"attributes": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}
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.
All 92 tools
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/encore-trace-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no email required.
A second provider on the same verified email joins the account you already have.