http
GET /runs/event-typesList run event types.
Servers
JSON
[ { "url": "https://api.veryfront.com" }]Authentication
JSON
[ { "bearerAuth": [] }, { "apiKeyAuth": [] }]JSON
{ "bearerAuth": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT or API Key", "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header." }, "apiKeyAuth": { "type": "apiKey", "in": "header", "name": "X-API-Key", "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens." }}Parameters
Parameter contracts
JSON
[ { "schema": { "type": "string", "enum": [ "canonical-v1" ] }, "required": false, "name": "event_representation", "in": "query" }]Responses
200
Lists the available run event types.
JSON
{ "description": "Lists the available run event types.", "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/ListRunEventTypesResponse" }, { "type": "object", "properties": { "version": { "type": "string", "enum": [ "1" ] }, "revision": { "type": "string", "minLength": 1 }, "events": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "meaning": { "type": "string" }, "profile": { "type": "string", "enum": [ "stored", "live" ] }, "schemas": { "type": "object", "properties": { "public": { "type": "string" }, "diagnostic": { "type": [ "string", "null" ] } }, "required": [ "public", "diagnostic" ], "additionalProperties": false } }, "required": [ "type", "meaning", "profile", "schemas" ], "additionalProperties": false } } }, "required": [ "version", "revision", "events" ], "additionalProperties": false } ] }, "examples": { "example": { "summary": "Example response", "value": { "data": [ { "type": "MODEL_CALL_COMPLETED", "name": "Model call completed", "group": "Model", "scope": "ag-ui", "event_class": "fact", "status": "active", "viewer_visibility": "full", "description": "Records model usage after a completed call.", "fields": [ "provider", "model", "inputTokens", "outputTokens", "cacheCreationTokens", "cacheReadTokens", "totalTokens", "costCredits", "latencyMs", "usageCaptureStatus", "providerRequestId", "modelCallContextEventId" ] } ] } } } } }}400
Canonical Events v1 refusal
JSON
{ "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 400 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } }}401
Unauthorized
JSON
{ "description": "Unauthorized", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 401 } } } ] } } }}403
Forbidden
JSON
{ "description": "Forbidden", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 403 } } } ] } } }}404
Canonical Events v1 refusal
JSON
{ "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 404 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } }}409
Canonical Events v1 refusal
JSON
{ "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 409 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } }}422
Canonical Events v1 refusal
JSON
{ "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 422 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } }}429
Rate limit exceeded
JSON
{ "description": "Rate limit exceeded", "headers": { "Retry-After": { "schema": { "type": "integer", "format": "int32", "minimum": 1 } } }, "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 429 } } } ] } } }}500
Canonical Events v1 refusal
JSON
{ "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 500 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } }}Referenced contracts
components/schemas/ListRunEventTypesResponse
JSON
{ "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "group": { "type": [ "string", "null" ], "minLength": 1 }, "scope": { "type": "string", "enum": [ "ag-ui", "control-plane", "extension" ] }, "event_class": { "type": "string", "enum": [ "fact", "delta" ] }, "status": { "type": "string", "enum": [ "active", "live_only", "reserved", "deprecated" ] }, "viewer_visibility": { "type": "string", "enum": [ "full", "sanitised", "type_only" ] }, "description": { "type": "string", "minLength": 1 }, "fields": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "legacy_types": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "custom_names": { "type": "array", "items": { "type": "string", "minLength": 1 } } }, "required": [ "type", "name", "group", "scope", "event_class", "status", "viewer_visibility", "description", "fields" ], "additionalProperties": false } } }, "required": [ "data" ]}components/schemas/TargetRunProblem
JSON
{ "type": "object", "properties": { "type": { "type": "string", "description": "Problem type URI reference." }, "title": { "type": "string" }, "status": { "type": "integer", "minimum": 400, "maximum": 599, "format": "int64" }, "code": { "type": "string", "minLength": 1, "maxLength": 128 }, "cause": { "type": "string", "enum": [ "schedule_concurrency_forbidden", "schedule_fire_in_progress", "schedule_run_limit_reached" ], "description": "Schedule admission refusal." }, "detail": { "type": "string" }, "instance": { "type": "string" }, "errors": { "type": "array", "items": { "type": "object", "properties": { "field": { "type": "string" }, "message": { "type": "string" } }, "required": [ "field", "message" ] } } }, "required": [ "type", "title", "status", "code" ]}components/schemas/CanonicalV1Error
JSON
{ "type": "object", "properties": { "code": { "type": "string", "enum": [ "INVALID_EVENT_REQUEST", "UNKNOWN_RUN_EVENT_TYPE", "AMBIGUOUS_RUN_EVENT_TYPE_ALIAS", "EVENT_NOT_FOUND", "CANONICAL_FILTER_UNRESOLVED", "EVENT_KEY_CONFLICT", "UNSAFE_EVENT_ID", "DURABLE_STREAM_UNAVAILABLE", "EVENT_READ_FAILED" ] }, "message": { "type": "string" }, "event_ids": { "type": "array", "items": { "type": "integer", "exclusiveMinimum": 0, "minimum": -9007199254740991, "maximum": 9007199254740991 }, "maxItems": 100 } }, "required": [ "code", "message" ], "additionalProperties": false}Operation contract
JSON
{ "operationId": "listRunEventTypes", "tags": [ "execution/Runs/Run Events" ], "summary": "List run event types", "description": "List run event types.", "parameters": [ { "schema": { "type": "string", "enum": [ "canonical-v1" ] }, "required": false, "name": "event_representation", "in": "query" } ], "responses": { "200": { "description": "Lists the available run event types.", "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/ListRunEventTypesResponse" }, { "type": "object", "properties": { "version": { "type": "string", "enum": [ "1" ] }, "revision": { "type": "string", "minLength": 1 }, "events": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string" }, "meaning": { "type": "string" }, "profile": { "type": "string", "enum": [ "stored", "live" ] }, "schemas": { "type": "object", "properties": { "public": { "type": "string" }, "diagnostic": { "type": [ "string", "null" ] } }, "required": [ "public", "diagnostic" ], "additionalProperties": false } }, "required": [ "type", "meaning", "profile", "schemas" ], "additionalProperties": false } } }, "required": [ "version", "revision", "events" ], "additionalProperties": false } ] }, "examples": { "example": { "summary": "Example response", "value": { "data": [ { "type": "MODEL_CALL_COMPLETED", "name": "Model call completed", "group": "Model", "scope": "ag-ui", "event_class": "fact", "status": "active", "viewer_visibility": "full", "description": "Records model usage after a completed call.", "fields": [ "provider", "model", "inputTokens", "outputTokens", "cacheCreationTokens", "cacheReadTokens", "totalTokens", "costCredits", "latencyMs", "usageCaptureStatus", "providerRequestId", "modelCallContextEventId" ] } ] } } } } } }, "400": { "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 400 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } } }, "401": { "description": "Unauthorized", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 401 } } } ] } } } }, "403": { "description": "Forbidden", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 403 } } } ] } } } }, "404": { "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 404 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } } }, "409": { "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 409 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } } }, "422": { "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 422 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } } }, "429": { "description": "Rate limit exceeded", "headers": { "Retry-After": { "schema": { "type": "integer", "format": "int32", "minimum": 1 } } }, "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 429 } } } ] } } } }, "500": { "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 500 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } } } }, "x-documentation-source-tag": "Run events", "x-canonical-documentation": { "domain": "execution", "resource": "Runs", "subgroup": "Run Events", "name": "List run event types", "description": "List run event types.", "operationId": "listRunEventTypes" }, "x-mint": { "href": "/cloud/rest/api-reference/execution-runs-run-events/list-run-event-types" }}