Bernstein · Schema
ListApprovalsResponse
Response for GET /approvals.
Artificial IntelligenceGovernanceOpen SourcePythonCLI
Properties
| Name | Type | Description |
|---|---|---|
| pending | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-list-approvals-response-schema.json",
"title": "ListApprovalsResponse",
"description": "Response for GET /approvals.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/bernstein-run-approvals-api-openapi.yml#/components/schemas/ListApprovalsResponse",
"properties": {
"pending": {
"items": {
"$ref": "#/$defs/PendingApproval"
},
"type": "array",
"title": "Pending"
}
},
"type": "object",
"required": [
"pending"
],
"$defs": {
"PendingApproval": {
"properties": {
"task_id": {
"type": "string",
"title": "Task Id"
},
"task_title": {
"type": "string",
"title": "Task Title"
},
"session_id": {
"type": "string",
"title": "Session Id"
},
"diff": {
"type": "string",
"title": "Diff",
"default": ""
},
"test_summary": {
"type": "string",
"title": "Test Summary",
"default": ""
},
"mechanism": {
"type": "string",
"title": "Mechanism",
"default": "task_review"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": ""
},
"default_action": {
"type": "string",
"title": "Default Action",
"default": ""
},
"timeout_at_iso": {
"type": "string",
"title": "Timeout At Iso",
"default": ""
},
"created_iso": {
"type": "string",
"title": "Created Iso",
"default": ""
},
"timeout_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Timeout Seconds"
},
"unblocks": {
"type": "string",
"title": "Unblocks",
"default": "task completion and merge"
},
"resolution_endpoint": {
"type": "string",
"title": "Resolution Endpoint",
"default": ""
}
},
"type": "object",
"required": [
"task_id",
"task_title",
"session_id"
],
"title": "PendingApproval",
"description": "A single pending approval request (task-level or pre-spawn)."
}
}
}
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/bernstein-run-list-approvals-response"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.