{"openapi":"3.1.1","info":{"title":"Datool Agent API","version":"1.0.0","description":"The supported agent operation surface shared by REST, MCP, and the CLI. Browser-internal endpoints and MCP JSON-RPC are not described here. Authenticate with an organization API key or a project-bound OAuth token for the /api/cli resource. OAuth uses authorization code with PKCE S256; discover registration and issuer metadata at /.well-known/oauth-authorization-server. Required scopes apply to both authentication methods."},"servers":[{"url":"https://www.trydatool.com"}],"externalDocs":{"url":"https://www.trydatool.com/docs","description":"Datool documentation"},"paths":{"/api/agent/list_page_views":{"post":{"operationId":"list_page_views","description":"List project page views with bounded pagination. Follow nextCursor.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_page_views_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_page_view":{"post":{"operationId":"get_page_view","description":"Read a page-view, including source/settings and current or pinned revision.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_page_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_page_view":{"post":{"operationId":"create_page_view","description":"Create a shared page-view. Page Views reference existing fields and never edit their definitions.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_page_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_page_view":{"post":{"operationId":"update_page_view","description":"Update a shared page-view using expectedRevision. Stale writes return CONFLICT.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_page_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/copy_page_view":{"post":{"operationId":"copy_page_view","description":"Copy a page-view under a new name.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/copy_page_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/delete_page_view":{"post":{"operationId":"delete_page_view","description":"Delete a page-view at expectedRevision. Referenced definitions must be detached first.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_page_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_delete_page_view"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_page_view_history":{"post":{"operationId":"get_page_view_history","description":"Read immutable page-view revisions. before paginates older revisions.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_page_view_history_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_page_view_history"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/restore_page_view":{"post":{"operationId":"restore_page_view","description":"Restore a historical page-view as a new revision without modifying its dependencies.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/restore_page_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_page_view_dependencies":{"post":{"operationId":"get_page_view_dependencies","description":"List definitions referencing this page-view; hasMore reports truncation.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_page_view_dependencies_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_page_view_dependencies"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/validate_page_view":{"post":{"operationId":"validate_page_view","description":"Validate a page-view and its dependencies. This does not execute formulas or render React.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/validate_page_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_validate_page_view"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_custom_fields":{"post":{"operationId":"list_custom_fields","description":"List project custom fields with bounded pagination. Follow nextCursor.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_custom_fields_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_custom_field":{"post":{"operationId":"get_custom_field","description":"Read a custom-field, including source/settings and current or pinned revision.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_custom_field_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_custom_field":{"post":{"operationId":"create_custom_field","description":"Create a shared custom-field. Page Views reference existing fields and never edit their definitions.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_custom_field_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_custom_field":{"post":{"operationId":"update_custom_field","description":"Update a shared custom-field using expectedRevision. Stale writes return CONFLICT.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_custom_field_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/copy_custom_field":{"post":{"operationId":"copy_custom_field","description":"Copy a custom-field under a new name.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/copy_custom_field_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/delete_custom_field":{"post":{"operationId":"delete_custom_field","description":"Delete a custom-field at expectedRevision. Referenced definitions must be detached first.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_custom_field_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_delete_page_view"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_custom_field_history":{"post":{"operationId":"get_custom_field_history","description":"Read immutable custom-field revisions. before paginates older revisions.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_custom_field_history_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_page_view_history"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/restore_custom_field":{"post":{"operationId":"restore_custom_field","description":"Restore a historical custom-field as a new revision without modifying its dependencies.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/restore_custom_field_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_custom_field_dependencies":{"post":{"operationId":"get_custom_field_dependencies","description":"List definitions referencing this custom-field; hasMore reports truncation.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_custom_field_dependencies_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_page_view_dependencies"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/validate_custom_field":{"post":{"operationId":"validate_custom_field","description":"Validate a custom-field and its dependencies. This does not execute formulas or render React.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/validate_custom_field_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_validate_page_view"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_object_views":{"post":{"operationId":"list_object_views","description":"List project object views with bounded pagination. Follow nextCursor.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_object_views_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_object_view":{"post":{"operationId":"get_object_view","description":"Read a object-view, including source/settings and current or pinned revision.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_object_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_object_view":{"post":{"operationId":"create_object_view","description":"Create a shared object-view. Page Views reference existing fields and never edit their definitions.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_object_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_object_view":{"post":{"operationId":"update_object_view","description":"Update a shared object-view using expectedRevision. Stale writes return CONFLICT.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_object_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/copy_object_view":{"post":{"operationId":"copy_object_view","description":"Copy a object-view under a new name.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/copy_object_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/delete_object_view":{"post":{"operationId":"delete_object_view","description":"Delete a object-view at expectedRevision. Referenced definitions must be detached first.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_object_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_delete_page_view"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_object_view_history":{"post":{"operationId":"get_object_view_history","description":"Read immutable object-view revisions. before paginates older revisions.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_object_view_history_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_page_view_history"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/restore_object_view":{"post":{"operationId":"restore_object_view","description":"Restore a historical object-view as a new revision without modifying its dependencies.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/restore_object_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_object_view_dependencies":{"post":{"operationId":"get_object_view_dependencies","description":"List definitions referencing this object-view; hasMore reports truncation.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_object_view_dependencies_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_page_view_dependencies"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/validate_object_view":{"post":{"operationId":"validate_object_view","description":"Validate a object-view and its dependencies. This does not execute formulas or render React.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/validate_object_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_validate_page_view"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_view_capabilities":{"post":{"operationId":"get_view_capabilities","description":"Discover Page View resources, Custom Field object types, execution limits and supported operations.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_view_capabilities_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_view_capabilities"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/resolve_page_view":{"post":{"operationId":"resolve_page_view","description":"Resolve a Page View, its exact field/Object View dependencies and workspace-relative link before applying it.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/resolve_page_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_resolve_page_view"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_page_view_data":{"post":{"operationId":"get_page_view_data","description":"Query a Page View with data permissions. Unsupported query operations are explicitly rejected; rows are never filtered after pagination.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_page_view_data_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_page_view_data"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/evaluate_custom_field":{"post":{"operationId":"evaluate_custom_field","description":"Evaluate up to 20 supplied rows in the bounded local sandbox, returning typed values and per-row diagnostics. Does not fetch records or call model providers.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/evaluate_custom_field_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_evaluate_custom_field"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/preview_object_view":{"post":{"operationId":"preview_object_view","description":"Compile an Object View and check input compatibility. Returns rendered:false; use the browser sandbox for actual rendering.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview_object_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_preview_object_view"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_view_preference":{"post":{"operationId":"get_view_preference","description":"Read the authenticated principal's durable project/page preference. Revision zero means unset.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_view_preference_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_view_preference"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/save_view_preference":{"post":{"operationId":"save_view_preference","description":"Save the authenticated principal's durable project/page preference using expectedRevision. Does not edit shared definitions.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/save_view_preference_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_save_view_preference"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_apps":{"post":{"operationId":"list_apps","description":"List registered apps, connection types, input/output schemas and availability. HTTP apps are always available; availability is not a health check.","tags":["Agent operations"],"x-required-scopes":["apps:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["apps:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_apps_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_apps_item"}}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_app":{"post":{"operationId":"get_app","description":"Read one app and its connection configuration. Credential values are never returned.","tags":["Agent operations"],"x-required-scopes":["apps:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["apps:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_app_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_apps_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/register_app":{"post":{"operationId":"register_app","description":"Register an app with a local bridge or HTTP webhook connection. Use expectedRevision when editing. Omitted webhook headers preserve saved credentials; {} clears them. Registration does not call the app.","tags":["Agent operations"],"x-required-scopes":["apps:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["apps:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/register_app_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_register_app"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/run_app":{"post":{"operationId":"run_app","description":"Run one input through a registered app and save its experiment and traces. Reuse requestKey after uncertain delivery to prevent duplicate execution; inspect eval runs if the request is still starting. scorerIds omitted uses app defaults; [] runs without scorers. Calls may incur cost.","tags":["Agent operations"],"x-required-scopes":["apps:read","apps:write","evals:read","evals:write","scorers:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["apps:read","apps:write","evals:read","evals:write","scorers:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/run_app_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_run_app"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_metrics_metadata":{"post":{"operationId":"get_metrics_metadata","description":"Discover semantic sources, measures, dimensions, time dimensions, segments, and query limits before constructing metric queries. Prefer source.visibility=primary for new queries: Traces (traces), Spans (spans), Evaluation Runs (evalRuns), Evaluation Results (evalResults), Scores (scoreValues). Inspect member definitions, denominators, grouping/filter capabilities and source.unavailable; legacy scores is not the Scores ratings source.","tags":["Agent operations"],"x-required-scopes":["metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_metrics_metadata_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Readonly"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/query_metrics":{"post":{"operationId":"query_metrics","description":"Run a bounded read-only semantic query using discovered catalog members and the source's time dimension. Score measures marked requiresDefinition need one compatible scoreValues.definitionId or grouping by it. Returns data, annotations, quality, and execution metadata; does not accept SQL or executable definitions. On READ_BUSY, honor details.retryAfterSeconds and retry this read with bounded backoff.","tags":["Agent operations"],"x-required-scopes":["metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/query_metrics_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_query_metrics"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/batch_metrics":{"post":{"operationId":"batch_metrics","description":"Run 1–40 read-only semantic queries sequentially against one consistent snapshot. Returns results in query order with shared snapshot metadata. Use discovered catalog members and source-specific time dimensions; on READ_BUSY, honor details.retryAfterSeconds and retry this read with bounded backoff.","tags":["Agent operations"],"x-required-scopes":["metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/batch_metrics_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Output_query_metrics"}}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_human_scores":{"post":{"operationId":"list_human_scores","description":"Read the project Human Score library and reusable collections. Human Scores are review criteria, separate from automated Scorers.","tags":["Agent operations"],"x-required-scopes":["reviews:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_human_scores_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_HumanScoreLibrary"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_human_score":{"post":{"operationId":"get_human_score","description":"Read one Human Score definition, including type, numeric range or enum options and revision.","tags":["Agent operations"],"x-required-scopes":["reviews:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_human_score_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_HumanScore"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_human_score":{"post":{"operationId":"create_human_score","description":"Create a reusable numeric, categorical (single or multiple choice), or text Human Score in this project.","tags":["Agent operations"],"x-required-scopes":["reviews:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_human_score_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_HumanScore"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_human_score":{"post":{"operationId":"update_human_score","description":"Update a Human Score with its current revision. Existing session and rating snapshots retain their definitions.","tags":["Agent operations"],"x-required-scopes":["reviews:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_human_score_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_HumanScore"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_human_score_collection":{"post":{"operationId":"get_human_score_collection","description":"Read an ordered collection with full Human Score definitions.","tags":["Agent operations"],"x-required-scopes":["reviews:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_human_score_collection_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_HumanScoreCollectionSnapshot"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_human_score_collection":{"post":{"operationId":"create_human_score_collection","description":"Create an ordered reusable collection of project Human Score IDs. Attach it to a review session using collectionId.","tags":["Agent operations"],"x-required-scopes":["reviews:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_human_score_collection_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_HumanScoreCollectionSnapshot"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_human_score_collection":{"post":{"operationId":"update_human_score_collection","description":"Update an ordered Human Score collection. Attached sessions retain their snapshot.","tags":["Agent operations"],"x-required-scopes":["reviews:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_human_score_collection_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_HumanScoreCollectionSnapshot"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_review_sessions":{"post":{"operationId":"list_review_sessions","description":"List project review sessions with assignment, explicit AI labels, and separate human/AI completion counts. reviewedCount is total score completion, not human verification. Filters include name, status, and assigneeName.","tags":["Agent operations"],"x-required-scopes":["reviews:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_review_sessions_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_review_sessions"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_review_session":{"post":{"operationId":"get_review_session","description":"Read a review session, its review prompt, and up to 500 trace items in their fixed playback order.","tags":["Agent operations"],"x-required-scopes":["reviews:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_review_session_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_ReviewSessionDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_review_options":{"post":{"operationId":"get_review_options","description":"List members who can be assigned to this project and the current reviewer identity. Use list_human_scores for the separate Human Score library.","tags":["Agent operations"],"x-required-scopes":["reviews:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_review_options_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_ReviewOptions"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_review_session":{"post":{"operationId":"create_review_session","description":"Create an ordered collection of traces for review. Use list_traces to find traces for a prompt, then pass their IDs in the desired order. The prompt field supplies review instructions. Optional collectionId attaches a snapshot of a Human Score collection to every trace. Does not run a model or execute the traces.","tags":["Agent operations"],"x-required-scopes":["reviews:write","traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:write","traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_review_session_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_ReviewSessionDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_review_session":{"post":{"operationId":"update_review_session","description":"Edit the review prompt, name, assigned project members, or collection using the current revision. Collection changes recalculate completion while retaining existing ratings and their provenance.","tags":["Agent operations"],"x-required-scopes":["reviews:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_review_session_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_ReviewSessionDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_review_item":{"post":{"operationId":"get_review_item","description":"Read one review item's scores, notes, revision, trace ID and previous/next IDs. Use get_trace to inspect the actual prompt and output before reviewing.","tags":["Agent operations"],"x-required-scopes":["reviews:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_review_item_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_ReviewItemDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/export_review_items":{"post":{"operationId":"export_review_items","description":"Export a bounded page of review items with complete scores, notes, annotations and trusted provenance. AI-labelled rows are not human-verified ground truth. Follow nextCursor to export the session.","tags":["Agent operations"],"x-required-scopes":["reviews:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/export_review_items_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_export_review_items"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/record_review":{"post":{"operationId":"record_review","description":"Save AI-labelled scores, notes or annotations for one trace using an organization API key or user OAuth with reviews:write. Attribution is derived server-side from the authenticated principal; optional agent {name, model} is descriptive metadata only. Providing scores replaces the complete score set; include every required criterion to complete it. Omit scores for notes/annotations-only updates that preserve scores and completion. Use humanScoreId and humanScoreRevision from get_review_item or list_human_scores; null is an unanswered draft. Values must follow the rubric's numeric range, option values, multiple-choice array or text type. Requires expectedRevision from get_review_item; on conflict refetch before retrying. AI completion is separate from human verification and never updates dataset ground truth. Returns provenance, completionKind, humanVerified and nextItemId.","tags":["Agent operations"],"x-required-scopes":["reviews:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["reviews:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/record_review_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_ReviewItemDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_scorer_libraries":{"post":{"operationId":"list_scorer_libraries","description":"Discover supported evaluator libraries, pinned package/adapter versions, required arguments and model requirements. Create a type=library scorer with library {package, version, adapterVersion, evaluator, mappings, options}. Input mappings use trace or datasetItem dotted paths. Factuality uses the project's Vercel AI Gateway language model; deterministic evaluators need no provider.","tags":["Agent operations"],"x-required-scopes":["scorers:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_scorer_libraries_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_scorer_libraries"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/use_library_scorer":{"post":{"operationId":"use_library_scorer","description":"Select a library evaluator using its default input mappings. Creates or reuses its saved project scorer without overwriting edits. Factuality defaults to openai/gpt-4.1-mini via the project's Gateway. Use the returned ID anywhere scorer IDs are accepted.","tags":["Agent operations"],"x-required-scopes":["scorers:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/use_library_scorer_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Scorer"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_scorers":{"post":{"operationId":"list_scorers","description":"List saved LLM, JavaScript, Python and library scorer configurations.","tags":["Agent operations"],"x-required-scopes":["scorers:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_scorers_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Output_Scorer"}}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_scorer":{"post":{"operationId":"get_scorer","description":"Read a scorer by ID.","tags":["Agent operations"],"x-required-scopes":["scorers:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_scorer_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Scorer"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_scorer":{"post":{"operationId":"create_scorer","description":"Create a scorer configuration; does not execute code or call a model.","tags":["Agent operations"],"x-required-scopes":["scorers:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_scorer_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Scorer"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_scorer":{"post":{"operationId":"update_scorer","description":"Replace the complete scorer configuration by ID.","tags":["Agent operations"],"x-required-scopes":["scorers:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["scorers:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_scorer_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Scorer"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/delete_scorer":{"post":{"operationId":"delete_scorer","description":"Permanently delete a scorer configuration.","tags":["Agent operations"],"x-required-scopes":["scorers:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["scorers:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_scorer_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_delete_scorer"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_views":{"post":{"operationId":"list_views","description":"List custom eval-run table views.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_views_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Output_CustomView"}}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_view":{"post":{"operationId":"get_view","description":"Read a custom eval-run view including its revision.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_CustomView"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_view":{"post":{"operationId":"create_view","description":"Create a custom eval-run view.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_CustomView"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_view":{"post":{"operationId":"update_view","description":"Replace a custom view with revision conflict protection.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_CustomView"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/delete_view":{"post":{"operationId":"delete_view","description":"Permanently delete a custom view at its expected revision.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_delete_view"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_saved_views":{"post":{"operationId":"list_saved_views","description":"List saved trace and eval-result selector views (distinct from custom eval-run views).","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_saved_views_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_saved_views"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_saved_view":{"post":{"operationId":"get_saved_view","description":"Read a saved selector view.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_saved_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_SavedView"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_saved_view":{"post":{"operationId":"create_saved_view","description":"Create a saved trace or eval-result selector view.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_saved_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_SavedView"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_saved_view":{"post":{"operationId":"update_saved_view","description":"Patch a saved selector view.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_saved_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_SavedView"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/delete_saved_view":{"post":{"operationId":"delete_saved_view","description":"Permanently delete a saved selector view.","tags":["Agent operations"],"x-required-scopes":["views:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["views:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_saved_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_delete_saved_view"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_datasets":{"post":{"operationId":"list_datasets","description":"List datasets with cursor pagination.","tags":["Agent operations"],"x-required-scopes":["datasets:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_datasets_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_datasets"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_dataset":{"post":{"operationId":"get_dataset","description":"Read a dataset summary and its first item page. Set includeItems=false for header/count only. Use list_dataset_items for more.","tags":["Agent operations"],"x-required-scopes":["datasets:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_dataset_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_DatasetDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_dataset_items":{"post":{"operationId":"list_dataset_items","description":"Read a bounded page of dataset items. Set preview=true to omit large values with explicit omittedFields markers; fetch complete values with get_dataset_item before editing or exporting.","tags":["Agent operations"],"x-required-scopes":["datasets:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_dataset_items_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_dataset_items"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_dataset_item":{"post":{"operationId":"get_dataset_item","description":"Read one dataset item. Optionally set fields to load only those fields in full, keeping other large fields as previews. Omit fields for the complete item. Capped at 32 MiB.","tags":["Agent operations"],"x-required-scopes":["datasets:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_dataset_item_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_DatasetItemPreview"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_dataset":{"post":{"operationId":"create_dataset","description":"Create a dataset.","tags":["Agent operations"],"x-required-scopes":["datasets:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_dataset_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Dataset"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_dataset":{"post":{"operationId":"update_dataset","description":"Patch dataset name or description.","tags":["Agent operations"],"x-required-scopes":["datasets:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["datasets:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_dataset_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Dataset"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/delete_dataset":{"post":{"operationId":"delete_dataset","description":"Permanently delete a dataset and its items. Datasets referenced by eval runs cannot be deleted.","tags":["Agent operations"],"x-required-scopes":["datasets:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["datasets:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_dataset_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_delete_dataset"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_dataset_item":{"post":{"operationId":"create_dataset_item","description":"Add input, expected output, metadata, and an optional source trace to a dataset.","tags":["Agent operations"],"x-required-scopes":["datasets:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_dataset_item_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_DatasetItem"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_dataset_item":{"post":{"operationId":"update_dataset_item","description":"Patch a dataset item.","tags":["Agent operations"],"x-required-scopes":["datasets:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["datasets:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_dataset_item_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_DatasetItemPreview"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/delete_dataset_item":{"post":{"operationId":"delete_dataset_item","description":"Permanently delete a dataset item.","tags":["Agent operations"],"x-required-scopes":["datasets:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["datasets:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_dataset_item_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_delete_dataset_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_dashboards":{"post":{"operationId":"list_dashboards","description":"List saved dashboard configurations.","tags":["Agent operations"],"x-required-scopes":["dashboards:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_dashboards_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Output_Dashboard"}}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_dashboard":{"post":{"operationId":"get_dashboard","description":"Read a dashboard, its widgets and current revision.","tags":["Agent operations"],"x-required-scopes":["dashboards:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_dashboard_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Dashboard"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_dashboard":{"post":{"operationId":"create_dashboard","description":"Create a dashboard with validated widget queries. Does not execute queries.","tags":["Agent operations"],"x-required-scopes":["dashboards:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_dashboard_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Dashboard"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_dashboard":{"post":{"operationId":"update_dashboard","description":"Replace dashboard configuration with revision conflict protection.","tags":["Agent operations"],"x-required-scopes":["dashboards:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_dashboard_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Dashboard"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/delete_dashboard":{"post":{"operationId":"delete_dashboard","description":"Permanently delete a dashboard at its expected revision.","tags":["Agent operations"],"x-required-scopes":["dashboards:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/delete_dashboard_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_delete_dashboard"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_traces":{"post":{"operationId":"list_traces","description":"Filter and page trace summaries. Filter syntax includes status = \"errored\", name contains \"agent\", and startedAt >= \"-24h\". Use get_trace for full evidence.","tags":["Agent operations"],"x-required-scopes":["traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_traces_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_traces"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_trace":{"post":{"operationId":"get_trace","description":"Get complete trace evidence including spans and scores; capped at 8 MiB. Use paged child tools for larger traces.","tags":["Agent operations"],"x-required-scopes":["traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_trace_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_TraceDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_trace_spans":{"post":{"operationId":"list_trace_spans","description":"Page spans in a trace in start-time order.","tags":["Agent operations"],"x-required-scopes":["traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_trace_spans_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_trace_spans"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_span_path":{"post":{"operationId":"get_span_path","description":"Get the ancestor path of a span within its trace.","tags":["Agent operations"],"x-required-scopes":["traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_span_path_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Output_Span"}}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_trace_scores":{"post":{"operationId":"list_trace_scores","description":"Page the scores attached to a trace.","tags":["Agent operations"],"x-required-scopes":["traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_trace_scores_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_trace_scores"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_sessions":{"post":{"operationId":"list_sessions","description":"Filter and page sessions; use list_traces with sessionId to page their traces.","tags":["Agent operations"],"x-required-scopes":["traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_sessions_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_sessions"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_session":{"post":{"operationId":"get_session","description":"Read a session and its initial trace page.","tags":["Agent operations"],"x-required-scopes":["traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_session_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_SessionDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_scorer_versions":{"post":{"operationId":"list_scorer_versions","description":"Page immutable scorer version metadata. Use get_scorer_version to retrieve executable configuration.","tags":["Agent operations"],"x-required-scopes":["scorers:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_scorer_versions_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_scorer_versions"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_scorer_version":{"post":{"operationId":"get_scorer_version","description":"Read an immutable executable version belonging to a scorer.","tags":["Agent operations"],"x-required-scopes":["scorers:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_scorer_version_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_EvaluatorVersion"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/check_scorer_runtime":{"post":{"operationId":"check_scorer_runtime","description":"Read-only configuration diagnostics for selected pinned scorers. Does not call providers or launch sandboxes, and does not establish connectivity or successful execution. Use probe_scorer_runtime explicitly for a bounded, potentially billable representative execution.","tags":["Agent operations"],"x-required-scopes":["scorers:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/check_scorer_runtime_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_check_scorer_runtime"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/probe_scorer_runtime":{"post":{"operationId":"probe_scorer_runtime","description":"Explicitly execute up to 3 pinned scorers on one representative trace/span or dataset case using their actual provider/model/sandbox. May incur usage and retain execution spans. Reports configuration, connectivity, and execution separately; creates no saved evaluation. Use start_eval_run for multi-case calibration.","tags":["Agent operations"],"x-required-scopes":["scorers:read","scorers:write","traces:read","datasets:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:read","scorers:write","traces:read","datasets:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/probe_scorer_runtime_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_probe_scorer_runtime"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/test_scorer":{"post":{"operationId":"test_scorer","description":"Preview a saved, pinned, or inline scorer on trace or selected span evidence. Does not create a saved evaluation run or score result; a scorer execution span is retained. Use start_eval_run for a named persistent evaluation. LLM scorers may incur model cost. Optional dataset context requires both datasetId and datasetItemId.","tags":["Agent operations"],"x-required-scopes":["scorers:read","scorers:write","traces:read","datasets:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:read","scorers:write","traces:read","datasets:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/test_scorer_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_test_scorer"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_eval_runs":{"post":{"operationId":"list_eval_runs","description":"Filter and page evaluation run summaries, including saved groups (type/name/version) and groupsResolvedAt. Filter membership with workflow = 'Name' or agent = 'Name'; multiple memberships are supported. Null groupsResolvedAt means historical attribution has not been resolved; an empty groups array with a timestamp means unassigned.","tags":["Agent operations"],"x-required-scopes":["evals:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["evals:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_eval_runs_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_eval_runs"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_eval_run_groups":{"post":{"operationId":"list_eval_run_groups","description":"Group all matching evaluation runs by saved workflow or agent membership, with exact run counts and cursor-paged groups. A mixed run can belong to several groups. Each returned filter can be passed to list_eval_runs to page that group's runs. Unresolved historical runs are separate from resolved, unassigned runs.","tags":["Agent operations"],"x-required-scopes":["evals:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["evals:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_eval_run_groups_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_eval_run_groups"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/cancel_eval_run":{"post":{"operationId":"cancel_eval_run","description":"Stop scheduling work and fence late result writes. Already dispatched application calls may finish; retained outputs and judgments are preserved. Cancelled runs cannot be recovered.","tags":["Agent operations"],"x-required-scopes":["evals:read","evals:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["evals:read","evals:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/cancel_eval_run_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_EvalRunDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/recover_eval_run":{"post":{"operationId":"recover_eval_run","description":"Resume unfinished cases after a worker lease expires, or retry scoring errors on retained evidence. Reuses completed judgments and durable app/bridge output. Never re-dispatches an uncertain app call. Live workers and cancelled runs reject recovery.","tags":["Agent operations"],"x-required-scopes":["evals:read","evals:write","traces:read","datasets:read","scorers:read","apps:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["evals:read","evals:write","traces:read","datasets:read","scorers:read","apps:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/recover_eval_run_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_EvalRunDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_eval_run":{"post":{"operationId":"get_eval_run","description":"Read a run's status, worker/stage progress, per-case execution errors, resolved evaluatorVersionIds and one lightweight result page with exact frozen inputs/outputs. Frozen and scorer spans are omitted by default; use get_eval_target with the run id and a row id for full case evidence, or opt in with includeEvidence. Batches shrink automatically to fit 8 MiB; continue with nextCursor, even if fewer rows than requested are returned.","tags":["Agent operations"],"x-required-scopes":["evals:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["evals:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_eval_run_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_EvalRunDetail"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_eval_target":{"post":{"operationId":"get_eval_target","description":"Read one evaluation case's complete frozen evidence, scorer execution spans and results, capped at 8 MiB. Pass the run id and targetId from get_eval_run rows[].id or a comparison row's id. Does not substitute the current live trace for saved evidence.","tags":["Agent operations"],"x-required-scopes":["evals:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["evals:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_eval_target_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_run_app_rows_item"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/start_eval_run":{"post":{"operationId":"start_eval_run","description":"Create a named, persistent asynchronous evaluation and return its URL promptly. Execution completion, quality failures, and infrastructure errors are distinct. Choose trace IDs, a dataset (optionally datasetVersionId), or sourceRunId to re-score frozen evidence without calling the app again. Connected dataset runs accept promptOverrides keyed by managed prompt slug with optional version and model; all published prompt defaults are frozen at run creation, including lazy discovery. These are separate from inputs and expected outputs, forbidden for re-scoring, and part of requestKey identity. Connected dataset runs accept inputOverrides: shallow merge over each object case input, override keys win, nested values replace whole values and null is literal. The effective app input and overrides are frozen; dataset inputs and expected outputs remain unchanged. Overrides are forbidden for re-scoring and included in requestKey identity. Use parentRunId to execute the app again on a prior run's frozen cases/references, inheriting its settings and resolving latest prompts/scorers by default; optional overrides change those settings. useRecordedVersions=true holds recorded prompt/scorer revisions for reproduction or comparison. sourceRunId only re-scores saved outputs; its judges also default to latest. Each run records resolved versions, parentRunId and configurationChanges. Pin individual scorers with evaluatorVersionIds. Supply a stable requestKey: retries with the same key and inputs return the same run. Connected runs and LLM scorers may incur cost. Poll get_eval_run and use gate_eval_run when terminal.","tags":["Agent operations"],"x-required-scopes":["evals:write","evals:read","traces:read","datasets:read","scorers:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["evals:write","evals:read","traces:read","datasets:read","scorers:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/start_eval_run_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_run_app"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/compare_eval_runs":{"post":{"operationId":"compare_eval_runs","description":"Compare runs and their resolved configurationChanges, separating extractor changes from judge-version changes. Changed judges remain viewable but cannot pass a baseline quality gate. Use exact frozen inputs/outputs, matching dataset item, trace, then unique input. Full spans are omitted by default; use get_eval_target to inspect a case or opt in with includeEvidence. Batches shrink automatically to fit 8 MiB; always continue with nextOffset instead of assuming a fixed page size.","tags":["Agent operations"],"x-required-scopes":["evals:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["evals:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/compare_eval_runs_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_compare_eval_runs"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/gate_eval_run":{"post":{"operationId":"gate_eval_run","description":"Evaluate CI thresholds across ALL results. Fails closed on nonterminal, empty, missing or unscored results. Optional baseline checks mean-score regression. Returns passed plus reasons; CLI exits 2 on failure.","tags":["Agent operations"],"x-required-scopes":["evals:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["evals:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/gate_eval_run_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_gate_eval_run"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/promote_spans":{"post":{"operationId":"promote_spans","description":"Preview or atomically promote 1–100 exact production spans into dataset cases. Defaults to preview=true. Captures only the selected subtree with provenance; observed output is separate and expectedOutput defaults to null. mappedInput is explicit app input, never inferred from prompt text. Save with preview=false and the preview's expectedEvidenceHash. No new production traces are created.","tags":["Agent operations"],"x-required-scopes":["datasets:read","datasets:write","traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:read","datasets:write","traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/promote_spans_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_SpanPromotionResult"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/bulk_dataset_items":{"post":{"operationId":"bulk_dataset_items","description":"Atomically create, update and delete at most 100 dataset items. Any failure rolls back the batch. expectedHash optionally guards the content hash returned by a snapshot or prior bulk edit.","tags":["Agent operations"],"x-required-scopes":["datasets:write"],"x-destructive":true,"security":[{"bearerAuth":[]},{"oauth2":["datasets:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/bulk_dataset_items_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_bulk_dataset_items"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_dataset_snapshot":{"post":{"operationId":"create_dataset_snapshot","description":"Freeze dataset inputs, expected outputs, metadata and captured span evidence as immutable per-case content. Aggregate captured evidence can exceed 8 MiB; item reads remain bounded to 8 MiB per page. Legacy trace references resolve evidence at evaluation start. Identical content returns the existing snapshot. Pass its id as datasetVersionId to an evaluation.","tags":["Agent operations"],"x-required-scopes":["datasets:read","datasets:write"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:read","datasets:write"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_dataset_snapshot_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_create_dataset_snapshot"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_dataset_snapshots":{"post":{"operationId":"list_dataset_snapshots","description":"Page immutable dataset snapshot metadata.","tags":["Agent operations"],"x-required-scopes":["datasets:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_dataset_snapshots_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_list_dataset_snapshots"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_dataset_snapshot":{"post":{"operationId":"get_dataset_snapshot","description":"Read a frozen dataset and one immutable item page. Pages shrink to fit 8 MiB; continue with nextCursor even when fewer rows than requested are returned.","tags":["Agent operations"],"x-required-scopes":["datasets:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_dataset_snapshot_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_dataset_snapshot"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/preview_dashboard":{"post":{"operationId":"preview_dashboard","description":"Execute stored dashboard widget queries with their saved date windows. Returns configuration and ordered query results. Each batch of at most 40 expanded queries shares a snapshot; larger previews use multiple snapshots, not one dashboard-wide snapshot. On READ_BUSY, honor details.retryAfterSeconds and retry this read with bounded backoff.","tags":["Agent operations"],"x-required-scopes":["dashboards:read","metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read","metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preview_dashboard_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_preview_dashboard"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_saved_view_data":{"post":{"operationId":"get_saved_view_data","description":"Execute a saved selector view and return a bounded row page. Eval-result views can be restricted to runId.","tags":["Agent operations"],"x-required-scopes":["views:read","traces:read","evals:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read","traces:read","evals:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_saved_view_data_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_SavedViewData"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_report_templates":{"post":{"operationId":"list_report_templates","description":"List query-backed MDX report starters. get_report_template returns an editable MDX document with named sources.","tags":["Agent operations"],"x-required-scopes":["dashboards:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_report_templates_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_report_templates_item"}}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_report_template":{"post":{"operationId":"get_report_template","description":"Get an MDX starter document with concrete named queries and absolute dates. asOf sets the query window end, not a historical database snapshot. Review sources and compose MDX before creating a report.","tags":["Agent operations"],"x-required-scopes":["dashboards:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_report_template_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_report_template"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/list_reports":{"post":{"operationId":"list_reports","description":"List saved frozen reports in the current project, newest first. Use get_report with the project-local report number to read its config and captured data.","tags":["Agent operations"],"x-required-scopes":["dashboards:read","metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read","metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/list_reports_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReportSummary"}}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_report":{"post":{"operationId":"get_report","description":"Read a saved report by its project-local number, including its text, widget config and frozen query results. This does not query live metric data.","tags":["Agent operations"],"x-required-scopes":["dashboards:read","metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read","metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_report_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Report"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/create_report":{"post":{"operationId":"create_report","description":"Create a private MDX report draft from name, mdx, named sources and optional evidence bindings. Start with get_report_authoring_guide for the workflow, paired-file recipe, exact component props and supported Tailwind utilities. Component source props reference named queries. No JavaScript execution, imports or arbitrary CSS. Use literal JSON props. All queries capture complete results together (40 queries, 5000 rows/query, 8 MiB); sources reused by components are deduplicated. Validate with validate_report first. Creation requires a stable UUID creationKey; identical retries return the original. update_report preserves captured data unless refresh is explicit. publish_report locks the reviewed revision; sharing remains a separate action.","tags":["Agent operations"],"x-required-scopes":["dashboards:write","metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:write","metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/create_report_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Report"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_report_recipe":{"post":{"operationId":"get_report_recipe","description":"Get the MDX evaluation-story recipe: editorial guidance, report.mdx and report.data.json starter files, and the agent workflow. Use get_report_components for typed props. The recipe is optional guidance, not a fixed layout.","tags":["Agent operations"],"x-required-scopes":["dashboards:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_report_recipe_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_report_recipe"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_report_authoring_guide":{"post":{"operationId":"get_report_authoring_guide","description":"Get the complete MDX report authoring contract: document shape, source and binding model, component examples, limits, validation scope and the ordered workflow from discovery through private draft review and optional publication. Use this before writing a report; it does not query data or save a report.","tags":["Agent operations"],"x-required-scopes":["dashboards:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_report_authoring_guide_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_report_authoring_guide"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/get_report_components":{"post":{"operationId":"get_report_components","description":"Discover MDX component names, exact prop schemas, child support and supported static Tailwind classes.","tags":["Agent operations"],"x-required-scopes":["dashboards:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/get_report_components_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_get_report_authoring_guide_componentCatalog"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/validate_report":{"post":{"operationId":"validate_report","description":"Validate MDX, component props, sources, evidence and data shapes without saving or consuming a report number. With number and revision, validates against that report's frozen evidence; refresh:true explicitly queries fresh data. Without number, performs a fresh capture for validation. Returns structural, data and server-render checks; browser visual and responsive review remain separate. Does not publish or share.","tags":["Agent operations"],"x-required-scopes":["dashboards:read","metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read","metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/validate_report_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_validate_report"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/update_report":{"post":{"operationId":"update_report","description":"Edit a private MDX draft using number, revision and the complete document {name, description, mdx, sources, bindings}. Source and layout edits reuse frozen evidence. Changing query definitions or adding a visualization requiring extra aggregates requires refresh:true; review the refreshed data before publishing. Published reports reject edits.","tags":["Agent operations"],"x-required-scopes":["dashboards:write","metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:write","metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/update_report_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Report"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/publish_report":{"post":{"operationId":"publish_report","description":"Publish the reviewed draft at its current revision. Locks the composition and captured evidence without querying live data. Publication alone stays private; use set_report_sharing only when public access is intended.","tags":["Agent operations"],"x-required-scopes":["dashboards:write","metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:write","metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/publish_report_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Report"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/set_report_sharing":{"post":{"operationId":"set_report_sharing","description":"Explicitly enable or revoke an anonymous public link for a published report. Anyone with the returned publicPath can read all captured report rows and expanded evidence without signing in. Never enable without authorization to share that report publicly. Revocation invalidates the link; re-enabling generates a new one.","tags":["Agent operations"],"x-required-scopes":["dashboards:write","metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:write","metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/set_report_sharing_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Report"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/clone_report":{"post":{"operationId":"clone_report","description":"Create a new private draft copy of a report, preserving the exact captured evidence without rerunning queries. Uses a UUID creationKey for idempotent retries; the original and any public link stay unchanged.","tags":["Agent operations"],"x-required-scopes":["dashboards:write","metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:write","metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/clone_report_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_Report"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/resolve_trace":{"post":{"operationId":"resolve_trace","description":"Resolve an exact ID or supported exact name/slug in the current project and return its canonical URL. Reports also resolve by project-local number. Ambiguous names fail. Some objects have collection links because the UI has no detail route.","tags":["Agent operations"],"x-required-scopes":["traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/resolve_trace_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_resolve_trace"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/resolve_session":{"post":{"operationId":"resolve_session","description":"Resolve an exact ID or supported exact name/slug in the current project and return its canonical URL. Reports also resolve by project-local number. Ambiguous names fail. Some objects have collection links because the UI has no detail route.","tags":["Agent operations"],"x-required-scopes":["traces:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["traces:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/resolve_session_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_resolve_trace"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/resolve_dataset":{"post":{"operationId":"resolve_dataset","description":"Resolve an exact ID or supported exact name/slug in the current project and return its canonical URL. Reports also resolve by project-local number. Ambiguous names fail. Some objects have collection links because the UI has no detail route.","tags":["Agent operations"],"x-required-scopes":["datasets:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["datasets:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/resolve_dataset_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_resolve_trace"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/resolve_scorer":{"post":{"operationId":"resolve_scorer","description":"Resolve an exact ID or supported exact name/slug in the current project and return its canonical URL. Reports also resolve by project-local number. Ambiguous names fail. Some objects have collection links because the UI has no detail route.","tags":["Agent operations"],"x-required-scopes":["scorers:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["scorers:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/resolve_scorer_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_resolve_trace"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/resolve_eval":{"post":{"operationId":"resolve_eval","description":"Resolve an exact ID or supported exact name/slug in the current project and return its canonical URL. Reports also resolve by project-local number. Ambiguous names fail. Some objects have collection links because the UI has no detail route.","tags":["Agent operations"],"x-required-scopes":["evals:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["evals:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/resolve_eval_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_resolve_trace"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/resolve_dashboard":{"post":{"operationId":"resolve_dashboard","description":"Resolve an exact ID or supported exact name/slug in the current project and return its canonical URL. Reports also resolve by project-local number. Ambiguous names fail. Some objects have collection links because the UI has no detail route.","tags":["Agent operations"],"x-required-scopes":["dashboards:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/resolve_dashboard_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_resolve_trace"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/resolve_view":{"post":{"operationId":"resolve_view","description":"Resolve an exact ID or supported exact name/slug in the current project and return its canonical URL. Reports also resolve by project-local number. Ambiguous names fail. Some objects have collection links because the UI has no detail route.","tags":["Agent operations"],"x-required-scopes":["views:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["views:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/resolve_view_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_resolve_trace"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/resolve_report":{"post":{"operationId":"resolve_report","description":"Resolve an exact ID or supported exact name/slug in the current project and return its canonical URL. Reports also resolve by project-local number. Ambiguous names fail. Some objects have collection links because the UI has no detail route.","tags":["Agent operations"],"x-required-scopes":["dashboards:read","metrics:read"],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":["dashboards:read","metrics:read"]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/resolve_report_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Output_resolve_trace"}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/agent/describe_agent_operations":{"post":{"operationId":"describe_agent_operations","description":"Discover agent operation names, required permissions and JSON input schemas shared by MCP and CLI.","tags":["Agent operations"],"x-required-scopes":[],"x-destructive":false,"security":[{"bearerAuth":[]},{"oauth2":[]}],"parameters":[{"name":"x-project-id","in":"header","required":true,"description":"Project ID authorized by the API key or bound to the OAuth token. The projectId query parameter is also accepted.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/describe_agent_operations_input"}}}},"responses":{"200":{"description":"Operation result in the data envelope. Application-defined JSON fields remain open; resource fields and pagination are typed.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Output_describe_agent_operations_item"}}}}}}},"400":{"description":"Request failed (HTTP 400); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request failed (HTTP 401); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"402":{"description":"Request failed (HTTP 402); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request failed (HTTP 403); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request failed (HTTP 404); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request failed (HTTP 409); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request failed (HTTP 413); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"Request failed (HTTP 422); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request failed (HTTP 429); inspect error.code, error.message, and error.hint.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"500":{"description":"Request failed (HTTP 500); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request failed (HTTP 503); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"504":{"description":"Request failed (HTTP 504); inspect error.code, error.message, and error.hint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}}},"components":{"schemas":{"Output_bulk_dataset_items":{"type":"object","properties":{"contentHash":{"type":"string"},"created":{"type":"array","items":{"type":"string"}},"datasetId":{"type":"string"},"deleted":{"type":"array","items":{"type":"string"}},"updated":{"type":"array","items":{"type":"string"}}},"required":["contentHash","created","datasetId","deleted","updated"]},"Output_check_scorer_runtime":{"type":"object","properties":{"checks":{"type":"array","items":{"$ref":"#/components/schemas/Output_JsonObject"}},"incurredProviderUsage":{"type":"boolean"},"mode":{"type":"string"}},"required":["checks","incurredProviderUsage","mode"]},"Output_compare_eval_runs":{"type":"object","properties":{"configurationChanges":{"type":"array","items":{"$ref":"#/components/schemas/Output_RunConfigurationChange"}},"left":{"$ref":"#/components/schemas/Output_EvalRunDetail"},"limit":{"type":"number"},"nextOffset":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"offset":{"type":"number"},"pairs":{"type":"array","items":{"$ref":"#/components/schemas/Output_EvalPair"}},"right":{"$ref":"#/components/schemas/Output_EvalRunDetail"},"total":{"type":"number"}},"required":["configurationChanges","left","limit","nextOffset","offset","pairs","right","total"]},"Output_compare_eval_runs_configurationChanges_item_kind":{"enum":["extractor","judge"]},"Output_compare_eval_runs_pairs_item_left":{"$ref":"#/components/schemas/Output_run_app_rows_item"},"Output_compare_eval_runs_pairs_item_matchedBy":{"enum":["input","trace","dataset item"]},"Output_CompiledReportMdx":{"type":"object","properties":{"nodes":{"type":"array","items":{"$ref":"#/components/schemas/Output_MdxNode"}},"version":{"type":"number","const":1}},"required":["nodes","version"]},"Output_create_dataset_snapshot":{"type":"object","properties":{"contentHash":{"type":"string"},"createdAt":{"type":"string"},"datasetId":{"type":"string"},"id":{"type":"string"},"itemCount":{"type":"number"},"label":{"$ref":"#/components/schemas/Output_run_app_completedAt"}},"required":["contentHash","createdAt","datasetId","id","itemCount","label"]},"Output_CustomView":{"type":"object","properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"resource":{"$ref":"#/components/schemas/Output_list_views_item_resource"},"revision":{"type":"number"},"settings":{"$ref":"#/components/schemas/Output_list_views_item_settings"},"updatedAt":{"type":"string"}},"required":["createdAt","id","name","resource","revision","settings","updatedAt"]},"Output_Dashboard":{"type":"object","properties":{"createdAt":{"type":"string"},"defaultWindowDays":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"description":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"revision":{"type":"number"},"schemaVersion":{"type":"number","const":1},"updatedAt":{"type":"string"},"widgets":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item"}}},"required":["createdAt","description","id","name","revision","schemaVersion","updatedAt","widgets"]},"Output_Dataset":{"type":"object","properties":{"createdAt":{"type":"string"},"description":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"fieldSchemas":{"$ref":"#/components/schemas/Output_list_datasets_items_item_fieldSchemas"},"id":{"type":"string"},"itemCount":{"type":"number"},"metadata":{"$ref":"#/components/schemas/Output_list_datasets_items_item_metadata"},"name":{"type":"string"},"revision":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"updatedAt":{"type":"string"},"versionId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["createdAt","description","id","itemCount","name","updatedAt"]},"Output_DatasetDetail":{"type":"object","properties":{"createdAt":{"type":"string"},"description":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"fieldSchemas":{"$ref":"#/components/schemas/Output_list_datasets_items_item_fieldSchemas"},"id":{"type":"string"},"itemCount":{"type":"number"},"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_DatasetItem"}},"metadata":{"$ref":"#/components/schemas/Output_list_datasets_items_item_metadata"},"name":{"type":"string"},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"revision":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"updatedAt":{"type":"string"},"versionId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["createdAt","description","id","itemCount","items","name","updatedAt"]},"Output_DatasetItem":{"type":"object","properties":{"createdAt":{"type":"string"},"datasetId":{"type":"string"},"datasetRevision":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"datasetVersionId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"expectedOutput":{"$ref":"#/components/schemas/Output_JsonValue"},"id":{"type":"string"},"input":{"$ref":"#/components/schemas/Output_JsonValue"},"metadata":{"$ref":"#/components/schemas/Output_JsonObject"},"observedOutput":{"$ref":"#/components/schemas/Output_run_app_metadata_value"},"sourceSpanEvidence":{"$ref":"#/components/schemas/Output_get_dataset_items_item_sourceSpanEvidence"},"sourceSpanId":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"sourceTraceId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"updatedAt":{"type":"string"},"versionId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["createdAt","datasetId","expectedOutput","id","input","metadata","sourceTraceId","updatedAt"]},"Output_DatasetItemPreview":{"type":"object","properties":{"createdAt":{"type":"string"},"datasetId":{"type":"string"},"datasetRevision":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"datasetVersionId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"expectedOutput":{"$ref":"#/components/schemas/Output_JsonValue"},"id":{"type":"string"},"input":{"$ref":"#/components/schemas/Output_JsonValue"},"metadata":{"$ref":"#/components/schemas/Output_JsonObject"},"observedOutput":{"$ref":"#/components/schemas/Output_run_app_metadata_value"},"omittedFields":{"$ref":"#/components/schemas/Output_list_dataset_items_items_item_omittedFields"},"sourceSpanEvidence":{"$ref":"#/components/schemas/Output_get_dataset_items_item_sourceSpanEvidence"},"sourceSpanId":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"sourceTraceId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"updatedAt":{"type":"string"},"versionId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["createdAt","datasetId","expectedOutput","id","input","metadata","sourceTraceId","updatedAt"]},"Output_delete_dashboard":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"Output_delete_dataset":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"Output_delete_dataset_item":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"Output_delete_page_view":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"Output_delete_saved_view":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"Output_delete_scorer":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"Output_delete_view":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"Output_describe_agent_operations_item":{"type":"object","properties":{"description":{"type":"string"},"inputSchema":{"$ref":"#/components/schemas/Output_Record"},"name":{"type":"string"},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/Output_describe_agent_operations_item_scopes_item"}}},"required":["description","inputSchema","name","scopes"]},"Output_describe_agent_operations_item_scopes_item":{"enum":["apps:read","apps:write","reviews:read","reviews:write","metrics:read","scorers:read","scorers:write","views:read","views:write","datasets:read","datasets:write","dashboards:read","dashboards:write","traces:read","evals:read","evals:write","prompts:read","prompts:write","traces:write","playgrounds:read","playgrounds:write"]},"Output_EvalPair":{"type":"object","properties":{"id":{"type":"string"},"inputChanged":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"left":{"$ref":"#/components/schemas/Output_compare_eval_runs_pairs_item_left"},"matchedBy":{"$ref":"#/components/schemas/Output_compare_eval_runs_pairs_item_matchedBy"},"referenceChanged":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"right":{"$ref":"#/components/schemas/Output_compare_eval_runs_pairs_item_left"}},"required":["id"]},"Output_EvalResult":{"type":"object","properties":{"completedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"datasetItemId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"definition":{"$ref":"#/components/schemas/Output_run_app_results_item_definition"},"error":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evaluatorId":{"type":"string"},"evaluatorName":{"type":"string"},"evaluatorVersion":{"type":"number"},"id":{"type":"string"},"metadata":{"$ref":"#/components/schemas/Output_JsonObject"},"passed":{"$ref":"#/components/schemas/Output_run_app_results_item_passed"},"reasoning":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"runId":{"type":"string"},"score":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"status":{"$ref":"#/components/schemas/Output_EvalResultStatus"},"traceId":{"type":"string"}},"required":["completedAt","datasetItemId","error","evaluatorId","evaluatorName","evaluatorVersion","id","metadata","passed","reasoning","runId","score","status","traceId"]},"Output_EvalResultStatus":{"enum":["error","completed","failed","passed"]},"Output_EvalRunDetail":{"type":"object","properties":{"completedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"createdAt":{"type":"string"},"datasetId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evaluatorIds":{"type":"array","items":{"type":"string"}},"evaluatorVersionIds":{"$ref":"#/components/schemas/Output_run_app_evaluatorVersionIds"},"execution":{"$ref":"#/components/schemas/Output_run_app_execution"},"groups":{"$ref":"#/components/schemas/Output_run_app_groups"},"groupsResolvedAt":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"id":{"type":"string"},"metadata":{"$ref":"#/components/schemas/Output_JsonObject"},"name":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"resultCount":{"type":"number"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Output_EvalResult"}},"rows":{"$ref":"#/components/schemas/Output_run_app_rows"},"score":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"scorerProgress":{"$ref":"#/components/schemas/Output_run_app_scorerProgress"},"scores":{"$ref":"#/components/schemas/Output_run_app_scores"},"status":{"$ref":"#/components/schemas/Output_EvalRunStatus"},"targetCount":{"type":"number"},"traceCount":{"type":"number"}},"required":["completedAt","createdAt","datasetId","evaluatorIds","id","metadata","name","resultCount","results","score","status","targetCount","traceCount"]},"Output_EvalRunStatus":{"enum":["cancelled","completed","failed","partial","running"]},"Output_EvalRunSummary":{"type":"object","properties":{"completedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"createdAt":{"type":"string"},"datasetId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evaluatorIds":{"type":"array","items":{"type":"string"}},"groups":{"$ref":"#/components/schemas/Output_run_app_groups"},"groupsResolvedAt":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"id":{"type":"string"},"metadata":{"$ref":"#/components/schemas/Output_JsonObject"},"name":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"resultCount":{"type":"number"},"score":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"scores":{"$ref":"#/components/schemas/Output_run_app_scores"},"status":{"$ref":"#/components/schemas/Output_EvalRunStatus"},"targetCount":{"type":"number"},"traceCount":{"type":"number"}},"required":["completedAt","createdAt","datasetId","evaluatorIds","id","metadata","name","resultCount","score","status","targetCount","traceCount"]},"Output_EvalScorerProgress":{"type":"object","properties":{"completed":{"type":"number"},"error":{"type":"number"},"evaluatorId":{"type":"string"},"name":{"type":"string"},"queued":{"type":"number"},"running":{"type":"number"},"score":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"skipped":{"type":"number"},"total":{"type":"number"},"version":{"type":"number"}},"required":["completed","error","evaluatorId","name","queued","running","score","skipped","total","version"]},"Output_evaluate_custom_field":{"type":"object","properties":{"evaluated":{"type":"boolean"},"id":{"type":"string"},"limits":{"$ref":"#/components/schemas/Output_evaluate_custom_field_limits"},"query":{"$ref":"#/components/schemas/Output_evaluate_custom_field_query"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Output_evaluate_custom_field_results_item"}},"revision":{"type":"number"}},"required":["evaluated","id","limits","query","results","revision"]},"Output_evaluate_custom_field_limits":{"type":"object","properties":{"resultBytes":{"type":"number"},"rows":{"type":"number"},"timeoutMs":{"type":"number"}},"required":["resultBytes","rows","timeoutMs"]},"Output_evaluate_custom_field_query":{"type":"object","properties":{"filter":{"type":"boolean"},"sort":{"type":"boolean"}},"required":["filter","sort"]},"Output_evaluate_custom_field_results_item":{"anyOf":[{"$ref":"#/components/schemas/Output_evaluate_custom_field_results_item_2"},{"$ref":"#/components/schemas/Output_evaluate_custom_field_results_item_3"}]},"Output_evaluate_custom_field_results_item_2":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Output_test_scorer_result_error_2"},"value":{"type":"null"}},"required":["error","value"]},"Output_evaluate_custom_field_results_item_3":{"type":"object","properties":{"missing":{"type":"boolean"},"value":{"$ref":"#/components/schemas/Output_evaluate_custom_field_results_item_value"}},"required":["missing","value"]},"Output_evaluate_custom_field_results_item_value":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"boolean","const":false},{"type":"boolean","const":true},{"$ref":"#/components/schemas/Output_JsonObject"},{"type":"array","items":{"$ref":"#/components/schemas/Output_JsonValue"}}]},"Output_EvaluatorLanguage":{"enum":["javascript","python"]},"Output_EvaluatorRunErrorKind":{"enum":["protocol","runtime","sandbox","timeout","validation"]},"Output_EvaluatorRunResult":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Output_test_scorer_result_error"},"metadata":{"$ref":"#/components/schemas/Output_list_datasets_items_item_metadata"},"passed":{"$ref":"#/components/schemas/Output_run_app_results_item_passed"},"reasoning":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"score":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"}},"required":["passed","score"]},"Output_EvaluatorVersion":{"type":"object","properties":{"code":{"type":"string"},"config":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config"},"createdAt":{"type":"string"},"evaluatorId":{"type":"string"},"id":{"type":"string"},"language":{"$ref":"#/components/schemas/Output_EvaluatorLanguage"},"version":{"type":"number"}},"required":["code","createdAt","evaluatorId","id","language","version"]},"Output_export_review_items":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_export_review_items_items_item"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"}},"required":["items","nextCursor"]},"Output_export_review_items_items_item":{"type":"object","properties":{"annotations":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReviewAnnotation"}},"completionKind":{"$ref":"#/components/schemas/Output_get_review_session_items_item_completionKind"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/Output_HumanScore"}},"humanVerified":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"id":{"type":"string"},"label":{"$ref":"#/components/schemas/Output_get_review_session_items_item_label"},"lastSubmission":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission"},"nextItemId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"notes":{"type":"string"},"notesProvenance":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission"},"ordinal":{"type":"number"},"previousItemId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"reviewedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"reviewedBy":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"revision":{"type":"number"},"scores":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReviewScore"}},"sessionId":{"type":"string"},"skippedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"traceId":{"type":"string"},"traceName":{"type":"string"}},"required":["annotations","definitions","id","nextItemId","notes","ordinal","previousItemId","reviewedAt","reviewedBy","revision","scores","sessionId","skippedAt","traceId","traceName"]},"Output_gate_eval_run":{"type":"object","properties":{"baseline":{"$ref":"#/components/schemas/Output_gate_eval_run_baseline"},"passed":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"string"}},"run":{"$ref":"#/components/schemas/Output_gate_eval_run_baseline_2"},"thresholds":{"$ref":"#/components/schemas/Output_gate_eval_run_thresholds"}},"required":["baseline","passed","reasons","run","thresholds"]},"Output_gate_eval_run_baseline":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_gate_eval_run_baseline_2"}]},"Output_gate_eval_run_baseline_2":{"type":"object","properties":{"actual":{"type":"number"},"errors":{"type":"number"},"expected":{"type":"number"},"id":{"type":"string"},"passRate":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"score":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"status":{"type":"string"},"unscored":{"type":"number"}},"required":["actual","errors","expected","id","passRate","score","status","unscored"]},"Output_gate_eval_run_thresholds":{"type":"object","properties":{"allowUnscored":{"type":"boolean"},"baselineId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"id":{"type":"string"},"maxErrors":{"type":"number"},"maxRegression":{"type":"number"},"minPassRate":{"type":"number"},"minScore":{"type":"number"}},"required":["allowUnscored","id","maxErrors","maxRegression","minPassRate","minScore"]},"Output_get_dataset_items_item_sourceSpanEvidence":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_TraceForEvaluation"}]},"Output_get_dataset_snapshot":{"type":"object","properties":{"createdAt":{"type":"string"},"description":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"fieldSchemas":{"$ref":"#/components/schemas/Output_list_datasets_items_item_fieldSchemas"},"id":{"type":"string"},"itemCount":{"type":"number"},"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_DatasetItem"}},"metadata":{"$ref":"#/components/schemas/Output_list_datasets_items_item_metadata"},"name":{"type":"string"},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"revision":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"updatedAt":{"type":"string"},"versionId":{"type":"string"}},"required":["createdAt","description","id","itemCount","items","name","nextCursor","updatedAt","versionId"]},"Output_get_metrics_metadata_models_item_defaultMeasures":{"type":"array","items":{"type":"string"}},"Output_get_metrics_metadata_models_item_defaultOrder":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_defaultOrder_item_1"}],"minItems":2,"maxItems":2}},"Output_get_metrics_metadata_models_item_defaultOrder_item_1":{"enum":["asc","desc"]},"Output_get_metrics_metadata_models_item_maxLimit":{"type":"number"},"Output_get_metrics_metadata_models_item_members_item_aggregation":{"enum":["minimum","maximum","sum","count","countDistinct","average","percentile","ratio"]},"Output_get_metrics_metadata_models_item_members_item_cardinality":{"enum":["low","high"]},"Output_get_metrics_metadata_models_item_members_item_filterOperators_item":{"enum":["set","in","equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","notIn","notSet"]},"Output_get_metrics_metadata_models_item_members_item_filterValueType":{"enum":["date","json"]},"Output_get_metrics_metadata_models_item_members_item_granularities_item":{"enum":["day","week","month"]},"Output_get_metrics_metadata_models_item_members_item_multiplicity":{"enum":["one","many"]},"Output_get_metrics_metadata_models_item_members_item_type":{"enum":["string","number","boolean"]},"Output_get_metrics_metadata_models_item_source":{"$ref":"#/components/schemas/Output_Readonly_3"},"Output_get_metrics_metadata_models_item_source_unavailable":{"type":"array","items":{"$ref":"#/components/schemas/Output_Readonly_4"}},"Output_get_metrics_metadata_models_item_source_visibility":{"enum":["primary","legacy"]},"Output_get_page_view_data":{"type":"object","properties":{"columns":{"type":"array","items":{"$ref":"#/components/schemas/Output_SavedViewColumn"}},"limit":{"type":"number"},"nextOffset":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"offset":{"type":"number"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Output_SavedViewRow"}},"total":{"type":"number"},"view":{"$ref":"#/components/schemas/Output_SavedView"}},"required":["columns","limit","nextOffset","offset","rows","total","view"]},"Output_get_page_view_dependencies":{"anyOf":[{"$ref":"#/components/schemas/Output_get_page_view_dependencies_2"},{"$ref":"#/components/schemas/Output_get_page_view_dependencies_3"}]},"Output_get_page_view_dependencies_2":{"type":"object","properties":{"items":{"type":"array","items":false}},"required":["items"]},"Output_get_page_view_dependencies_3":{"type":"object","properties":{"hasMore":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_page_view_dependencies_items_item"}}},"required":["hasMore","items"]},"Output_get_page_view_dependencies_items_item":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"}},"required":["id","kind","name"]},"Output_get_page_view_history":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_page_view_history_items_item"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"}},"required":["items","nextCursor"]},"Output_get_page_view_history_items_item":{"type":"object","properties":{"definition":{"description":"Application-defined JSON value."},"recordedAt":{"type":"string"},"revision":{"type":"number"}},"required":["definition","recordedAt","revision"]},"Output_get_report_authoring_guide":{"type":"object","properties":{"cli":{"type":"array","prefixItems":[{"type":"string","const":"datool reports guide"},{"type":"string","const":"datool reports validate --file report.mdx"},{"type":"string","const":"datool reports create --file report.mdx --creation-key <uuid>"},{"type":"string","const":"datool reports resolve <number>"},{"type":"string","const":"datool reports validate <number> --revision <revision> --file report.mdx"},{"type":"string","const":"datool reports update <number> --revision <revision> --file report.mdx"}],"minItems":6,"maxItems":6},"componentCatalog":{"$ref":"#/components/schemas/Output_get_report_authoring_guide_componentCatalog"},"componentExamples":{"type":"array","prefixItems":[{"$ref":"#/components/schemas/Output_get_report_authoring_guide_componentExamples_0"},{"$ref":"#/components/schemas/Output_get_report_authoring_guide_componentExamples_1"},{"$ref":"#/components/schemas/Output_get_report_authoring_guide_componentExamples_2"},{"$ref":"#/components/schemas/Output_get_report_authoring_guide_componentExamples_3"},{"$ref":"#/components/schemas/Output_get_report_authoring_guide_componentExamples_4"}],"minItems":5,"maxItems":5},"contract":{"$ref":"#/components/schemas/Output_get_report_authoring_guide_contract"},"format":{"type":"string","const":"mdx"},"id":{"type":"string","const":"mdx-report-authoring"},"limits":{"$ref":"#/components/schemas/Output_get_report_authoring_guide_limits"},"name":{"type":"string","const":"MDX report authoring"},"nextSteps":{"$ref":"#/components/schemas/Output_get_report_authoring_guide_nextSteps"},"preview":{"$ref":"#/components/schemas/Output_get_report_authoring_guide_preview"},"purpose":{"type":"string","const":"Compose a private, evidence-bound report draft from Markdown, registered components and named semantic queries."},"recipe":{"$ref":"#/components/schemas/Output_get_report_recipe"},"validationScope":{"$ref":"#/components/schemas/Output_get_report_authoring_guide_validationScope"},"version":{"type":"number","const":1},"workflow":{"type":"array","prefixItems":[{"$ref":"#/components/schemas/Output_get_report_authoring_guide_workflow_0"},{"$ref":"#/components/schemas/Output_get_report_authoring_guide_workflow_1"},{"$ref":"#/components/schemas/Output_get_report_authoring_guide_workflow_2"},{"$ref":"#/components/schemas/Output_get_report_authoring_guide_workflow_3"},{"$ref":"#/components/schemas/Output_get_report_authoring_guide_workflow_4"},{"$ref":"#/components/schemas/Output_get_report_authoring_guide_workflow_5"},{"$ref":"#/components/schemas/Output_get_report_authoring_guide_workflow_6"}],"minItems":7,"maxItems":7}},"required":["cli","componentCatalog","componentExamples","contract","format","id","limits","name","nextSteps","preview","purpose","recipe","validationScope","version","workflow"]},"Output_get_report_authoring_guide_componentCatalog":{"type":"object","properties":{"classes":{"type":"array","items":{"type":"string"}},"components":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_authoring_guide_componentCatalog_components_item"}},"htmlTags":{"type":"array","items":{"type":"string"}},"syntax":{"type":"string"},"version":{"type":"number"}},"required":["classes","components","htmlTags","syntax","version"]},"Output_get_report_authoring_guide_componentCatalog_components_item":{"type":"object","properties":{"children":{"type":"boolean"},"name":{"type":"string"},"props":{"$ref":"#/components/schemas/Output_Record"}},"required":["children","name","props"]},"Output_get_report_authoring_guide_componentExamples_0":{"type":"object","properties":{"mdx":{"type":"string","const":"<ReportHeader eyebrow=\"Evaluation study\" title=\"The result and its limitation\" summary=\"Lead with the decision, population and remaining risk.\" />"},"name":{"type":"string","const":"Evidence-bound opening"}},"required":["mdx","name"]},"Output_get_report_authoring_guide_componentExamples_1":{"type":"object","properties":{"mdx":{"type":"string","const":"<Metrics columns={2}>\n  <Metric binding=\"precision\" label=\"Precision\" tone=\"positive\" />\n  <Metric binding=\"missed\" label=\"Missed escalations\" tone=\"warning\" />\n</Metrics>"},"name":{"type":"string","const":"Bound metric"}},"required":["mdx","name"]},"Output_get_report_authoring_guide_componentExamples_2":{"type":"object","properties":{"mdx":{"type":"string","const":"<Chart source=\"quality\" type=\"line\" title=\"Quality across stages\" trendDirection=\"increase\" height=\"medium\" />"},"name":{"type":"string","const":"Shared chart"}},"required":["mdx","name"]},"Output_get_report_authoring_guide_componentExamples_3":{"type":"object","properties":{"mdx":{"type":"string","const":"<Comparison source=\"quality\" dimension=\"evalResults.groupVersion\" baseline=\"v1\" candidate=\"v4\" candidates={[{\"value\":\"v1\",\"label\":\"Baseline\"},{\"value\":\"v4\",\"label\":\"Candidate\"}]} metrics={[{\"member\":\"evalResults.meanScore\",\"label\":\"Mean score\",\"direction\":\"higher\"}]} />\n\n<Details id=\"methodology\" title=\"Methodology\">\nExplain denominators and exclusions here.\n</Details>"},"name":{"type":"string","const":"Comparison and detail"}},"required":["mdx","name"]},"Output_get_report_authoring_guide_componentExamples_4":{"type":"object","properties":{"mdx":{"type":"string","const":"The candidate reaches <Value binding=\"precision\" /> on the captured population."},"name":{"type":"string","const":"Inline claim"}},"required":["mdx","name"]},"Output_get_report_authoring_guide_contract":{"type":"object","properties":{"bindings":{"type":"string","const":"Named evidence selectors and calculations used by Value and Metric. Expected values catch stale or unsupported claims."},"document":{"type":"string","const":"{ name, description, mdx, sources, bindings } plus creationKey only for create_report."},"files":{"$ref":"#/components/schemas/Output_get_report_authoring_guide_contract_files"},"lifecycle":{"type":"string","const":"validate_report is read-only, create_report saves a private draft, update_report edits a draft with revision checks, publish_report locks the reviewed revision, and set_report_sharing is a separate explicit action."},"safety":{"type":"string","const":"The server parses and validates MDX; authored JavaScript, imports, event handlers, arbitrary styles and remote embeds are not evaluated."},"sources":{"type":"string","const":"Named semantic queries. Components reference a source name; identical queries are captured once in the frozen snapshot."}},"required":["bindings","document","files","lifecycle","safety","sources"]},"Output_get_report_authoring_guide_contract_files":{"type":"object","properties":{"data":{"type":"string","const":"report.data.json contains { name, description, sources, bindings }. The CLI loads the same-stem sibling automatically, or accepts --data-file <path>."},"mdx":{"type":"string","const":"report.mdx contains narrative, supported HTML and registered components, without frontmatter."},"storage":{"type":"string","const":"Both files produce the same document payload; queries and evidence remain captured together. The UI edits MDX and Data in separate tabs and saves them together."}},"required":["data","mdx","storage"]},"Output_get_report_authoring_guide_limits":{"type":"object","properties":{"bindings":{"type":"number","const":100},"dataComponents":{"type":"number","const":100},"expandedQueries":{"type":"number","const":40},"namedSources":{"type":"number","const":20},"rowsPerQuery":{"type":"number","const":5000},"savedContentBytes":{"type":"number"}},"required":["bindings","dataComponents","expandedQueries","namedSources","rowsPerQuery","savedContentBytes"]},"Output_get_report_authoring_guide_nextSteps":{"type":"object","properties":{"afterSaving":{"type":"string","const":"get_report"},"beforeExternalAccess":{"type":"string","const":"publish_report then set_report_sharing"},"beforeSaving":{"type":"string","const":"validate_report"},"firstCall":{"type":"string","const":"get_metrics_metadata"},"ifYouHaveAStarter":{"type":"string","const":"get_report_template"},"whenEditing":{"type":"string","const":"update_report"}},"required":["afterSaving","beforeExternalAccess","beforeSaving","firstCall","ifYouHaveAStarter","whenEditing"]},"Output_get_report_authoring_guide_preview":{"type":"object","properties":{"desktop":{"type":"string","const":"Review at a wide viewport (at least 1024px): hierarchy, chart labels, comparison columns and disclosure affordances."},"evidence":{"type":"string","const":"Save desktop and mobile screenshots after reviewing the private draft. Expand disclosures and check the full captured evidence before publication."},"mobile":{"type":"string","const":"Review around 390px: horizontal table/chart overflow, wrapped headings, disclosure focus and readable numeric values."},"notProvenByApi":{"type":"string","const":"Markup generation does not prove colors, spacing, typography, accessibility interaction or responsive layout. The API marks visual and responsive checks as not-run."},"runtime":{"type":"string","const":"validate_report invokes the shared renderer server-side and reports structural/data/render status before saving."},"url":{"type":"string","const":"After create_report, call resolve_report({key: String(number)}) with the returned report number, open its URL, and inspect the private draft at desktop and mobile widths."}},"required":["desktop","evidence","mobile","notProvenByApi","runtime","url"]},"Output_get_report_authoring_guide_validationScope":{"type":"object","properties":{"data":{"type":"string","const":"Semantic query capture, complete frozen rows, units, dimensions, selectors, calculations, highlights and expected values."},"render":{"type":"string","const":"The shared React renderer is invoked server-side and must produce static markup without throwing. This catches runtime renderer failures before a draft is saved."},"responsive":{"type":"string","const":"Not proven by this API: review the resolved draft at a wide desktop viewport and around 390px mobile width for wrapping, overflow, disclosure focus and readable chart/table content."},"structural":{"type":"string","const":"MDX syntax, allowlisted elements, component props, source names, binding references, IDs and static classes."},"visual":{"type":"string","const":"Not proven by this API: browser layout, typography, color balance, accessibility interaction, mobile overflow and chart readability still require rendered desktop/mobile review."}},"required":["data","render","responsive","structural","visual"]},"Output_get_report_authoring_guide_workflow_0":{"type":"object","properties":{"call":{"type":"string","const":"get_report_authoring_guide"},"name":{"type":"string","const":"Discover"},"result":{"type":"string","const":"This contract, component examples, limits, validation scope and the recommended next calls."},"step":{"type":"number","const":1}},"required":["call","name","result","step"]},"Output_get_report_authoring_guide_workflow_1":{"type":"object","properties":{"calls":{"type":"array","prefixItems":[{"type":"string","const":"get_metrics_metadata"},{"type":"string","const":"query_metrics"},{"type":"string","const":"batch_metrics"}],"minItems":3,"maxItems":3},"name":{"type":"string","const":"Inspect data"},"result":{"type":"string","const":"A bounded population with pinned versions, units, denominators, missing values and date window understood before writing claims."},"step":{"type":"number","const":2}},"required":["calls","name","result","step"]},"Output_get_report_authoring_guide_workflow_2":{"type":"object","properties":{"calls":{"type":"array","prefixItems":[{"type":"string","const":"get_report_components"},{"type":"string","const":"get_report_recipe"},{"type":"string","const":"get_report_template"}],"minItems":3,"maxItems":3},"name":{"type":"string","const":"Choose composition"},"result":{"type":"string","const":"A starter document and the exact registered component props. Adapt the order to the reader's decision; the recipe is guidance, not a fixed layout."},"step":{"type":"number","const":3}},"required":["calls","name","result","step"]},"Output_get_report_authoring_guide_workflow_3":{"type":"object","properties":{"call":{"type":"string","const":"validate_report"},"name":{"type":"string","const":"Validate"},"result":{"type":"string","const":"Structural MDX, source and binding checks, captured data shape checks, and a server-render smoke check. This call saves nothing and consumes no report number."},"step":{"type":"number","const":4}},"required":["call","name","result","step"]},"Output_get_report_authoring_guide_workflow_4":{"type":"object","properties":{"call":{"type":"string","const":"create_report"},"name":{"type":"string","const":"Save a draft"},"result":{"type":"string","const":"A private frozen draft. Use one stable UUID creationKey and retry the same payload if delivery is uncertain."},"step":{"type":"number","const":5}},"required":["call","name","result","step"]},"Output_get_report_authoring_guide_workflow_5":{"type":"object","properties":{"calls":{"type":"array","prefixItems":[{"type":"string","const":"get_report"},{"type":"string","const":"resolve_report"},{"type":"string","const":"update_report"}],"minItems":3,"maxItems":3},"name":{"type":"string","const":"Review and refine"},"result":{"type":"string","const":"Read the current revision, resolve its project-local URL, inspect the rendered draft at desktop (at least 1024px) and mobile (around 390px), then update with the current revision. Query changes require refresh:true."},"step":{"type":"number","const":6}},"required":["calls","name","result","step"]},"Output_get_report_authoring_guide_workflow_6":{"type":"object","properties":{"calls":{"type":"array","prefixItems":[{"type":"string","const":"publish_report"},{"type":"string","const":"set_report_sharing"}],"minItems":2,"maxItems":2},"name":{"type":"string","const":"Publish or share"},"result":{"type":"string","const":"Only after review: publish the exact revision, then enable a public URL separately when authorized."},"step":{"type":"number","const":7}},"required":["calls","name","result","step"]},"Output_get_report_config":{"type":"object","properties":{"defaultWindowDays":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"description":{"type":"string"},"name":{"type":"string"},"schemaVersion":{"type":"number","const":1},"widgets":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item"}}},"required":["description","name","schemaVersion","widgets"]},"Output_get_report_document":{"$ref":"#/components/schemas/Output_get_report_template_document"},"Output_get_report_draftInput":{"$ref":"#/components/schemas/Output_get_report_draftInput_2"},"Output_get_report_draftInput_2":{"type":"object","properties":{"bindings":{"$ref":"#/components/schemas/Output_Record_13"},"creationKey":{"type":"string"},"description":{"type":"string"},"mdx":{"type":"string"},"name":{"type":"string"},"sources":{"$ref":"#/components/schemas/Output_Record_14"}},"required":["bindings","creationKey","description","mdx","name","sources"]},"Output_get_report_layout":{"enum":["comparison","document","canvas","brief","scorecard"]},"Output_get_report_mdx":{"$ref":"#/components/schemas/Output_CompiledReportMdx"},"Output_get_report_presentation":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_get_report_presentation_2"}]},"Output_get_report_presentation_2":{"type":"object","properties":{"blocks":{"$ref":"#/components/schemas/Output_get_report_presentation_blocks"},"comparison":{"$ref":"#/components/schemas/Output_get_report_presentation_comparison"},"disclosure":{"type":"string"},"eyebrow":{"type":"string"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_presentation_metrics_item"}},"recipe":{"$ref":"#/components/schemas/Output_get_report_presentation_recipe"},"schemaVersion":{"type":"number","const":1},"sections":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_presentation_sections_item"}},"summary":{"type":"string"},"title":{"type":"string"}},"required":["disclosure","eyebrow","metrics","schemaVersion","sections","summary","title"]},"Output_get_report_presentation_blocks":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_presentation_blocks_item"}},"Output_get_report_presentation_blocks_item":{"anyOf":[{"$ref":"#/components/schemas/Output_get_report_presentation_blocks_item_2"},{"$ref":"#/components/schemas/Output_get_report_presentation_blocks_item_3"},{"$ref":"#/components/schemas/Output_get_report_presentation_blocks_item_4"},{"$ref":"#/components/schemas/Output_get_report_presentation_blocks_item_5"},{"$ref":"#/components/schemas/Output_get_report_presentation_blocks_item_6"}]},"Output_get_report_presentation_blocks_item_2":{"type":"object","properties":{"sectionId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"type":{"type":"string","const":"brief"}},"required":["type"]},"Output_get_report_presentation_blocks_item_3":{"type":"object","properties":{"description":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"title":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"type":{"type":"string","const":"comparison"}},"required":["type"]},"Output_get_report_presentation_blocks_item_4":{"type":"object","properties":{"sectionId":{"type":"string"},"type":{"type":"string","const":"section"}},"required":["sectionId","type"]},"Output_get_report_presentation_blocks_item_5":{"type":"object","properties":{"sectionIds":{"type":"array","items":{"type":"string"}},"title":{"type":"string"},"type":{"type":"string","const":"evidence"}},"required":["sectionIds","title","type"]},"Output_get_report_presentation_blocks_item_6":{"type":"object","properties":{"description":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"title":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"type":{"type":"string","const":"scorecard"}},"required":["type"]},"Output_get_report_presentation_comparison":{"$ref":"#/components/schemas/Output_get_report_presentation_comparison_2"},"Output_get_report_presentation_comparison_2":{"type":"object","properties":{"baseline":{"type":"string"},"candidate":{"type":"string"},"candidates":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_presentation_comparison_candidates_item"}},"dimension":{"type":"string"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_presentation_comparison_metrics_item"}},"widgetId":{"type":"string"}},"required":["baseline","candidate","candidates","dimension","metrics","widgetId"]},"Output_get_report_presentation_comparison_candidates_item":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"]},"Output_get_report_presentation_comparison_metrics_item":{"type":"object","properties":{"direction":{"$ref":"#/components/schemas/Output_get_report_presentation_comparison_metrics_item_direction"},"label":{"type":"string"},"member":{"type":"string"},"target":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["direction","label","member"]},"Output_get_report_presentation_comparison_metrics_item_direction":{"enum":["neutral","higher","lower"]},"Output_get_report_presentation_metrics_item":{"type":"object","properties":{"detail":{"type":"string"},"evidenceId":{"type":"string"},"label":{"type":"string"},"tone":{"$ref":"#/components/schemas/Output_get_report_presentation_metrics_item_tone"}},"required":["detail","evidenceId","label","tone"]},"Output_get_report_presentation_metrics_item_tone":{"enum":["neutral","positive","warning"]},"Output_get_report_presentation_recipe":{"enum":["evaluation-story"]},"Output_get_report_presentation_sections_item":{"type":"object","properties":{"description":{"type":"string"},"details":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_presentation_sections_item_details_item"}},"id":{"type":"string"},"navLabel":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"progression":{"$ref":"#/components/schemas/Output_get_report_presentation_sections_item_progression"},"takeaway":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"title":{"type":"string"},"widgets":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_presentation_sections_item_details_item_widgets_item"}}},"required":["description","details","id","title","widgets"]},"Output_get_report_presentation_sections_item_details_item":{"type":"object","properties":{"description":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"widgets":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_presentation_sections_item_details_item_widgets_item"}}},"required":["description","id","title","widgets"]},"Output_get_report_presentation_sections_item_details_item_widgets_item":{"type":"object","properties":{"caption":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"title":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"widgetId":{"type":"string"},"width":{"$ref":"#/components/schemas/Output_get_report_presentation_sections_item_details_item_widgets_item_width"}},"required":["widgetId","width"]},"Output_get_report_presentation_sections_item_details_item_widgets_item_width":{"enum":["full","half"]},"Output_get_report_presentation_sections_item_progression":{"$ref":"#/components/schemas/Output_get_report_presentation_sections_item_progression_2"},"Output_get_report_presentation_sections_item_progression_2":{"type":"object","properties":{"dimension":{"type":"string"},"measures":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_presentation_sections_item_progression_measures_item"}},"stages":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_presentation_sections_item_progression_stages_item"}},"widgetId":{"type":"string"}},"required":["dimension","measures","stages","widgetId"]},"Output_get_report_presentation_sections_item_progression_measures_item":{"type":"object","properties":{"label":{"type":"string"},"member":{"type":"string"}},"required":["label","member"]},"Output_get_report_presentation_sections_item_progression_stages_item":{"type":"object","properties":{"description":{"type":"string"},"label":{"type":"string"},"title":{"type":"string"},"value":{"type":"string"}},"required":["description","label","title","value"]},"Output_get_report_recipe":{"type":"object","properties":{"description":{"type":"string","const":"A concise opening, evidence-bound metrics, progression, candidate comparison, expandable supporting evidence and a closing scorecard. Adapt the composition to the question."},"files":{"$ref":"#/components/schemas/Output_get_report_recipe_files"},"format":{"type":"string","const":"mdx"},"id":{"type":"string","const":"evaluation-story"},"name":{"type":"string","const":"Evaluation story"},"workflow":{"type":"array","prefixItems":[{"type":"string","const":"Discover metrics and query the bounded population. Pin scorer and candidate versions; inspect coverage and denominators."},{"type":"string","const":"Start with get_report_authoring_guide for component props and supported Tailwind utilities. Write narrative and layout in report.mdx, and name, description, sources and bindings in report.data.json. Component props use JSON literals only."},{"type":"string","const":"Use ReportHeader and Metrics for the answer, Progression for change, Comparison for baseline differences, Details for supporting evidence, and Scorecard for a closing decision. These are optional components, not fixed layouts."},{"type":"string","const":"Use Value bindings for numeric claims and expected values to catch stale claims. Declare higher/lower metric directions. Only set targets supported by user requirements. Keep synthetic data, denominators and missing observations explicit."},{"type":"string","const":"Reuse named query sources across components. Avoid repeating the same chart or matrix in multiple sections. Use responsive grids and the shared semantic palette."},{"type":"string","const":"Call validate_report with document, then create_report with a stable UUID creationKey. Read get_report and inspect the actual rendered draft at desktop and mobile widths. Valid props alone do not prove good visual quality."},{"type":"string","const":"Edit MDX via update_report with number, revision and document. Captured evidence is preserved unless refresh:true. Changed queries require explicit refresh and another review."},{"type":"string","const":"Publish only the approved revision with publish_report. Enable set_report_sharing separately when authorized. Published reports are immutable; clone_report starts a new private draft."}],"minItems":8,"maxItems":8}},"required":["description","files","format","id","name","workflow"]},"Output_get_report_recipe_files":{"type":"object","properties":{"report.data.json":{"type":"string"},"report.mdx":{"type":"string","const":"<ReportHeader eyebrow=\"Evaluation study\" title=\"The main finding\" summary=\"State the answer, scope and remaining limitation.\" />\n\n## Evidence\n\nAdd named sources, then use the component catalog to compose charts and comparisons.\n\n<Details id=\"methodology\" title=\"Scope and methodology\">\n\nDescribe denominators, versions, missing observations and limitations.\n\n</Details>\n\n## Next step\n\nState the evidence-supported action.\n"}},"required":["report.data.json","report.mdx"]},"Output_get_report_snapshot_evidence":{"$ref":"#/components/schemas/Output_get_report_snapshot_evidence_2"},"Output_get_report_snapshot_evidence_2":{"type":"object","properties":{"templates":{"$ref":"#/components/schemas/Output_Record_2"},"values":{"type":"array","items":{"$ref":"#/components/schemas/Output_ResolvedReportEvidence"}}},"required":["templates","values"]},"Output_get_report_snapshot_evidence_values_item_binding":{"type":"object","properties":{"baseline":{"$ref":"#/components/schemas/Output_get_report_snapshot_evidence_values_item_binding_baseline"},"decimals":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"expected":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"format":{"$ref":"#/components/schemas/Output_get_report_template_document_bindings_value_format"},"id":{"type":"string"},"operation":{"$ref":"#/components/schemas/Output_get_report_template_document_bindings_value_operation"},"source":{"$ref":"#/components/schemas/Output_get_report_snapshot_evidence_values_item_binding_baseline_2"},"textWidgetId":{"type":"string"},"tolerance":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["id","operation","source","textWidgetId"]},"Output_get_report_snapshot_evidence_values_item_binding_baseline":{"$ref":"#/components/schemas/Output_get_report_snapshot_evidence_values_item_binding_baseline_2"},"Output_get_report_snapshot_evidence_values_item_binding_baseline_2":{"type":"object","properties":{"dimensions":{"$ref":"#/components/schemas/Output_Record_7"},"measure":{"type":"string"},"widgetId":{"type":"string"}},"required":["dimensions","measure","widgetId"]},"Output_get_report_snapshot_highlights":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_snapshot_highlights_item"}},"Output_get_report_snapshot_highlights_item":{"type":"object","properties":{"dimensions":{"$ref":"#/components/schemas/Output_Record_7"},"label":{"type":"string"},"measure":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"widgetId":{"type":"string"}},"required":["dimensions","label","widgetId"]},"Output_get_report_snapshot_positions_item":{"type":"object","properties":{"cohorts":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_snapshot_positions_item_cohorts_item"}},"id":{"type":"string"}},"required":["cohorts","id"]},"Output_get_report_snapshot_positions_item_cohorts_item":{"type":"object","properties":{"history":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"label":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"offsetKey":{"type":"string"},"previous":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"result":{"type":"number"},"summary":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"}},"required":["history","offsetKey","previous","result","summary"]},"Output_get_report_snapshot_references":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_snapshot_references_item"}},"Output_get_report_snapshot_references_item":{"type":"object","properties":{"label":{"type":"string"},"measure":{"type":"string"},"value":{"type":"number"},"widgetId":{"type":"string"}},"required":["label","measure","value","widgetId"]},"Output_get_report_template":{"type":"object","properties":{"description":{"type":"string"},"document":{"$ref":"#/components/schemas/Output_get_report_template_document"},"id":{"type":"string"},"name":{"type":"string"}},"required":["description","document","id","name"]},"Output_get_report_template_document":{"type":"object","properties":{"bindings":{"$ref":"#/components/schemas/Output_Record_13"},"description":{"type":"string"},"mdx":{"type":"string"},"name":{"type":"string"},"sources":{"$ref":"#/components/schemas/Output_Record_14"}},"required":["bindings","description","mdx","name","sources"]},"Output_get_report_template_document_bindings_value":{"type":"object","properties":{"baseline":{"$ref":"#/components/schemas/Output_get_report_template_document_bindings_value_baseline"},"decimals":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"expected":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"format":{"$ref":"#/components/schemas/Output_get_report_template_document_bindings_value_format"},"operation":{"$ref":"#/components/schemas/Output_get_report_template_document_bindings_value_operation"},"source":{"$ref":"#/components/schemas/Output_get_report_template_document_bindings_value_baseline_2"},"tolerance":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["operation","source"]},"Output_get_report_template_document_bindings_value_baseline":{"$ref":"#/components/schemas/Output_get_report_template_document_bindings_value_baseline_2"},"Output_get_report_template_document_bindings_value_baseline_2":{"type":"object","properties":{"dimensions":{"$ref":"#/components/schemas/Output_Record_7"},"measure":{"type":"string"},"source":{"type":"string"}},"required":["dimensions","measure","source"]},"Output_get_report_template_document_bindings_value_format":{"enum":["number","USD","percent"]},"Output_get_report_template_document_bindings_value_operation":{"enum":["value","ratio","difference","relativeChange","percentagePoints"]},"Output_get_report_template_document_sources_value":{"type":"object","properties":{"presentation":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_presentation"},"query":{"$ref":"#/components/schemas/Output_query_metrics_query"}},"required":["query"]},"Output_get_review_item_annotations_item_author":{"type":"object","properties":{"id":{"type":"string"},"image":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"name":{"type":"string"}},"required":["id","image","name"]},"Output_get_review_item_annotations_item_provenance":{"$ref":"#/components/schemas/Output_ReviewProvenance"},"Output_get_review_item_annotations_item_reference":{"type":"object","properties":{"customField":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference_customField"},"end":{"type":"number"},"exact":{"type":"string"},"field":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference_field"},"outputHash":{"type":"string"},"prefix":{"type":"string"},"spanId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"spanName":{"type":"string"},"start":{"type":"number"},"suffix":{"type":"string"},"traceId":{"type":"string"},"view":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference_view"}},"required":["end","exact","field","outputHash","prefix","spanId","spanName","start","suffix","traceId","view"]},"Output_get_review_item_annotations_item_reference_customField":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference_customField_2"},"Output_get_review_item_annotations_item_reference_customField_2":{"type":"object","properties":{"code":{"type":"string"},"format":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference_customField_format"},"id":{"type":"string"},"mode":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference_customField_mode"},"name":{"type":"string"},"sourceHash":{"type":"string"},"value":{"type":"string"}},"required":["code","format","id","mode","name","sourceHash","value"]},"Output_get_review_item_annotations_item_reference_customField_format":{"enum":["llm","json","text","image","markdown","yaml","llm-raw","pretty","tree"]},"Output_get_review_item_annotations_item_reference_customField_mode":{"enum":["expression","template"]},"Output_get_review_item_annotations_item_reference_field":{"enum":["input","output","custom"]},"Output_get_review_item_annotations_item_reference_view":{"enum":["llm","json","text","image","yaml","llm-raw","pretty","tree"]},"Output_get_review_item_scores_item_source":{"enum":["human","mcp","api"]},"Output_get_review_item_scores_item_value":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"array","items":{"type":"string"}}]},"Output_get_review_session_items_item_completionKind":{"anyOf":[{"type":"null"},{"type":"string","const":"ai"},{"type":"string","const":"human"}]},"Output_get_review_session_items_item_label":{"enum":["AI-labelled","Human-reviewed","Unreviewed","Unknown provenance"]},"Output_get_review_session_items_item_lastSubmission":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_ReviewProvenance"}]},"Output_get_review_session_items_item_lastSubmission_agent":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission_agent_2"},"Output_get_review_session_items_item_lastSubmission_agent_2":{"type":"object","properties":{"model":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"name":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}}},"Output_get_review_session_items_item_lastSubmission_authType":{"enum":["unknown","session","api-key","oauth"]},"Output_get_review_session_items_item_lastSubmission_label":{"enum":["AI-labelled","Human-reviewed","Unknown provenance"]},"Output_get_review_session_items_item_lastSubmission_principal":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission_principal_2"}]},"Output_get_review_session_items_item_lastSubmission_principal_2":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission_principal_type"}},"required":["id","name","type"]},"Output_get_review_session_items_item_lastSubmission_principal_type":{"enum":["user","api-key"]},"Output_get_trace_scores_item_external":{"$ref":"#/components/schemas/Output_ImportedScore"},"Output_get_trace_scores_item_external_data":{"anyOf":[{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_data_2"},{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_data_3"},{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_data_4"},{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_data_5"}]},"Output_get_trace_scores_item_external_data_2":{"type":"object","properties":{"type":{"type":"string","const":"numeric"},"value":{"type":"number"}},"required":["type","value"]},"Output_get_trace_scores_item_external_data_3":{"type":"object","properties":{"type":{"type":"string","const":"boolean"},"value":{"type":"boolean"}},"required":["type","value"]},"Output_get_trace_scores_item_external_data_4":{"type":"object","properties":{"type":{"type":"string","const":"categorical"},"value":{"type":"string"}},"required":["type","value"]},"Output_get_trace_scores_item_external_data_5":{"type":"object","properties":{"type":{"type":"string","const":"text"},"value":{"type":"string"}},"required":["type","value"]},"Output_get_trace_scores_item_external_definition":{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_definition_2"},"Output_get_trace_scores_item_external_definition_2":{"type":"object","properties":{"id":{"type":"string"},"max":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"min":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"version":{"type":"string"}},"required":["id","version"]},"Output_get_trace_scores_item_external_source":{"type":"object","properties":{"id":{"type":"string"},"instance":{"type":"string"},"projectId":{"type":"string"},"provider":{"type":"string"}},"required":["id","instance","projectId","provider"]},"Output_get_trace_scores_item_external_target":{"anyOf":[{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_target_2"},{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_target_3"},{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_target_4"},{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_target_5"}]},"Output_get_trace_scores_item_external_target_2":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"trace"}},"required":["id","type"]},"Output_get_trace_scores_item_external_target_3":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"span"}},"required":["id","type"]},"Output_get_trace_scores_item_external_target_4":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"session"}},"required":["id","type"]},"Output_get_trace_scores_item_external_target_5":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"evalRun"}},"required":["id","type"]},"Output_get_trace_scores_item_passed":{"anyOf":[{"type":"null"},{"type":"boolean","const":false},{"type":"boolean","const":true}]},"Output_get_view_capabilities":{"type":"object","properties":{"customFieldQuery":{"$ref":"#/components/schemas/Output_get_view_capabilities_customFieldQuery"},"objectTypes":{"type":"array","prefixItems":[{"type":"string","const":"trace"},{"type":"string","const":"dataset-item"},{"type":"string","const":"session"},{"type":"string","const":"eval-run"},{"type":"string","const":"eval-result"},{"type":"string","const":"dataset"},{"type":"string","const":"app"},{"type":"string","const":"agent"},{"type":"string","const":"workflow"},{"type":"string","const":"review-session"},{"type":"string","const":"review-item"},{"type":"string","const":"prompt"},{"type":"string","const":"scorer"},{"type":"string","const":"human-score"},{"type":"string","const":"score-collection"},{"type":"string","const":"dashboard"},{"type":"string","const":"alert"},{"type":"string","const":"notification"},{"type":"string","const":"table-row"}],"minItems":19,"maxItems":19},"objectViewPreview":{"$ref":"#/components/schemas/Output_get_view_capabilities_objectViewPreview"},"preferences":{"$ref":"#/components/schemas/Output_get_view_capabilities_preferences"},"resources":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources"}},"required":["customFieldQuery","objectTypes","objectViewPreview","preferences","resources"]},"Output_get_view_capabilities_customFieldQuery":{"type":"object","properties":{"filter":{"type":"boolean"},"sort":{"type":"boolean"}},"required":["filter","sort"]},"Output_get_view_capabilities_objectViewPreview":{"type":"object","properties":{"headlessRender":{"type":"boolean"},"syntax":{"type":"boolean"}},"required":["headlessRender","syntax"]},"Output_get_view_capabilities_preferences":{"type":"object","properties":{"persistence":{"type":"string"},"scope":{"type":"string"}},"required":["persistence","scope"]},"Output_get_view_capabilities_resources":{"type":"object","properties":{"agents":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_agents"},"alerts":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_alerts"},"dashboard-table":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_dashboard_table"},"dashboards":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_dashboards"},"dataset-item-runs":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_dataset_item_runs"},"dataset-items":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_dataset_items"},"datasets":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_datasets"},"eval-comparison":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_eval_comparison"},"eval-results":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_eval_results"},"eval-runs":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_eval_runs"},"evaluations":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_evaluations"},"human-scores":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_human_scores"},"notifications":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_notifications"},"playground-apps":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_playground_apps"},"playground-traces":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_playground_traces"},"prompts":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_prompts"},"reports":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_reports"},"review-session":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_review_session"},"reviews":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_reviews"},"score-collections":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_score_collections"},"scorers":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_scorers"},"session-traces":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_session_traces"},"sessions":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_sessions"},"traces":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_traces"},"workflows":{"$ref":"#/components/schemas/Output_get_view_capabilities_resources_workflows"}},"required":["agents","alerts","dashboard-table","dashboards","dataset-item-runs","dataset-items","datasets","eval-comparison","eval-results","eval-runs","evaluations","human-scores","notifications","playground-apps","playground-traces","prompts","reports","review-session","reviews","score-collections","scorers","session-traces","sessions","traces","workflows"]},"Output_get_view_capabilities_resources_agents":{"type":"object","properties":{"label":{"type":"string","const":"Agents"},"objectType":{"type":"string","const":"agent"},"path":{"type":"string","const":"agents"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_alerts":{"type":"object","properties":{"label":{"type":"string","const":"Alerts"},"objectType":{"type":"string","const":"alert"},"path":{"type":"string","const":"alerts"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_dashboard_table":{"type":"object","properties":{"label":{"type":"string","const":"Dashboard table"},"objectType":{"type":"string","const":"table-row"},"path":{"type":"string","const":"dashboards"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_dashboards":{"type":"object","properties":{"label":{"type":"string","const":"Dashboards"},"objectType":{"type":"string","const":"dashboard"},"path":{"type":"string","const":"dashboards"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_dataset_item_runs":{"type":"object","properties":{"label":{"type":"string","const":"Dataset item runs"},"objectType":{"type":"string","const":"trace"},"path":{"type":"string","const":"datasets"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_dataset_items":{"type":"object","properties":{"label":{"type":"string","const":"Dataset items"},"objectType":{"type":"string","const":"dataset-item"},"path":{"type":"string","const":"datasets"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_datasets":{"type":"object","properties":{"label":{"type":"string","const":"Datasets"},"objectType":{"type":"string","const":"dataset"},"path":{"type":"string","const":"datasets"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_eval_comparison":{"type":"object","properties":{"label":{"type":"string","const":"Evaluation comparison"},"objectType":{"type":"string","const":"eval-result"},"path":{"type":"string","const":"evals/compare"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_eval_results":{"type":"object","properties":{"label":{"type":"string","const":"Evaluation query"},"objectType":{"type":"string","const":"eval-result"},"path":{"type":"string","const":"evals"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_eval_runs":{"type":"object","properties":{"label":{"type":"string","const":"Evaluation results"},"objectType":{"type":"string","const":"eval-result"},"path":{"type":"string","const":"evals"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_evaluations":{"type":"object","properties":{"label":{"type":"string","const":"Evaluations"},"objectType":{"type":"string","const":"eval-run"},"path":{"type":"string","const":"evals"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_human_scores":{"type":"object","properties":{"label":{"type":"string","const":"Human Scores"},"objectType":{"type":"string","const":"human-score"},"path":{"type":"string","const":"human-scores"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_notifications":{"type":"object","properties":{"label":{"type":"string","const":"Notifications"},"objectType":{"type":"string","const":"notification"},"path":{"type":"string","const":"alerts"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_playground_apps":{"type":"object","properties":{"label":{"type":"string","const":"Playground apps"},"objectType":{"type":"string","const":"app"},"path":{"type":"string","const":"playground"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_playground_traces":{"type":"object","properties":{"label":{"type":"string","const":"Playground traces"},"objectType":{"type":"string","const":"trace"},"path":{"type":"string","const":"playground"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_prompts":{"type":"object","properties":{"label":{"type":"string","const":"Prompts"},"objectType":{"type":"string","const":"prompt"},"path":{"type":"string","const":"prompts"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_reports":{"type":"object","properties":{"label":{"type":"string","const":"Reports"},"objectType":{"type":"string","const":"table-row"},"path":{"type":"string","const":"reports"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_review_session":{"type":"object","properties":{"label":{"type":"string","const":"Review items"},"objectType":{"type":"string","const":"review-item"},"path":{"type":"string","const":"reviews"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_reviews":{"type":"object","properties":{"label":{"type":"string","const":"Reviews"},"objectType":{"type":"string","const":"review-session"},"path":{"type":"string","const":"reviews"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_score_collections":{"type":"object","properties":{"label":{"type":"string","const":"Score collections"},"objectType":{"type":"string","const":"score-collection"},"path":{"type":"string","const":"human-scores"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_scorers":{"type":"object","properties":{"label":{"type":"string","const":"Scorers"},"objectType":{"type":"string","const":"scorer"},"path":{"type":"string","const":"scorers"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_session_traces":{"type":"object","properties":{"label":{"type":"string","const":"Session traces"},"objectType":{"type":"string","const":"trace"},"path":{"type":"string","const":"sessions"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_sessions":{"type":"object","properties":{"label":{"type":"string","const":"Sessions"},"objectType":{"type":"string","const":"session"},"path":{"type":"string","const":"sessions"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_traces":{"type":"object","properties":{"label":{"type":"string","const":"Traces"},"objectType":{"type":"string","const":"trace"},"path":{"type":"string","const":"traces"}},"required":["label","objectType","path"]},"Output_get_view_capabilities_resources_workflows":{"type":"object","properties":{"label":{"type":"string","const":"Workflows"},"objectType":{"type":"string","const":"workflow"},"path":{"type":"string","const":"workflows"}},"required":["label","objectType","path"]},"Output_get_view_preference":{"type":"object","properties":{"revision":{"type":"number"},"scope":{"type":"string"},"value":{"description":"Application-defined JSON value."}},"required":["revision","scope","value"]},"Output_HumanScore":{"anyOf":[{"$ref":"#/components/schemas/Output_list_human_scores_scores_item"},{"$ref":"#/components/schemas/Output_list_human_scores_scores_item_2"},{"$ref":"#/components/schemas/Output_list_human_scores_scores_item_3"}]},"Output_HumanScoreCollection":{"type":"object","properties":{"archived":{"type":"boolean"},"createdAt":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"revision":{"type":"number"},"scoreIds":{"type":"array","items":{"type":"string"}},"updatedAt":{"type":"string"}},"required":["archived","createdAt","description","id","name","revision","scoreIds","updatedAt"]},"Output_HumanScoreCollectionSnapshot":{"type":"object","properties":{"archived":{"type":"boolean"},"createdAt":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"revision":{"type":"number"},"scoreIds":{"type":"array","items":{"type":"string"}},"scores":{"type":"array","items":{"$ref":"#/components/schemas/Output_HumanScore"}},"updatedAt":{"type":"string"}},"required":["archived","createdAt","description","id","name","revision","scoreIds","scores","updatedAt"]},"Output_HumanScoreLibrary":{"type":"object","properties":{"collections":{"type":"array","items":{"$ref":"#/components/schemas/Output_HumanScoreCollection"}},"scores":{"type":"array","items":{"$ref":"#/components/schemas/Output_HumanScore"}}},"required":["collections","scores"]},"Output_ImportedScore":{"type":"object","properties":{"author":{"$ref":"#/components/schemas/Output_list_views_item_settings_query_filters_item_value"},"comment":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"data":{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_data"},"definition":{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_definition"},"metadata":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library_options_schema"},"name":{"type":"string"},"source":{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_source"},"target":{"$ref":"#/components/schemas/Output_get_trace_scores_item_external_target"},"timestamp":{"type":"string"}},"required":["data","name","source","target","timestamp"]},"Output_JsonObject":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_run_app_metadata_value"}},"Output_JSONType":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"boolean","const":false},{"type":"boolean","const":true},{"type":"array","items":{"$ref":"#/components/schemas/Output_JSONType"}},{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library_options_schema_value"}]},"Output_JsonValue":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"boolean","const":false},{"type":"boolean","const":true},{"$ref":"#/components/schemas/Output_JsonObject"},{"type":"array","items":{"$ref":"#/components/schemas/Output_JsonValue"}}]},"Output_list_apps_item":{"type":"object","properties":{"codeProvenance":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance"},"connection":{"$ref":"#/components/schemas/Output_PublicAppConnection"},"defaultInput":{"description":"Application-defined JSON value."},"evaluatorIds":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"inputSchema":{"$ref":"#/components/schemas/Output_Record"},"internalTracing":{"type":"boolean"},"mode":{"$ref":"#/components/schemas/Output_list_apps_item_mode"},"name":{"type":"string"},"online":{"type":"boolean"},"outputSchema":{"$ref":"#/components/schemas/Output_Record"},"revision":{"type":"number"}},"required":["connection","evaluatorIds","id","inputSchema","internalTracing","mode","name","online","outputSchema","revision"]},"Output_list_apps_item_codeProvenance":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_2"},"Output_list_apps_item_codeProvenance_2":{"type":"object","properties":{"dirty":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"fingerprint":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"revision":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"source":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_source"}},"required":["source"]},"Output_list_apps_item_codeProvenance_dirty":{"enum":[false,true]},"Output_list_apps_item_codeProvenance_fingerprint":{"type":"string"},"Output_list_apps_item_codeProvenance_source":{"enum":["unknown","local-git","declared"]},"Output_list_apps_item_connection":{"type":"object","properties":{"type":{"type":"string","const":"bridge"}},"required":["type"]},"Output_list_apps_item_connection_2":{"type":"object","properties":{"body":{"$ref":"#/components/schemas/Output_list_apps_item_connection_body"},"headerNames":{"type":"array","items":{"type":"string"}},"method":{"$ref":"#/components/schemas/Output_list_apps_item_connection_method"},"timeoutMs":{"type":"number"},"type":{"type":"string","const":"webhook"},"url":{"type":"string"}},"required":["body","headerNames","method","timeoutMs","type","url"]},"Output_list_apps_item_connection_body":{"enum":["input","envelope"]},"Output_list_apps_item_connection_method":{"enum":["POST","PUT","PATCH"]},"Output_list_apps_item_mode":{"enum":["input","agent"]},"Output_list_custom_fields":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"}},"required":["items","nextCursor"]},"Output_list_custom_fields_items_item":{"anyOf":[{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_2"},{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_3"},{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_4"}]},"Output_list_custom_fields_items_item_2":{"type":"object","properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"resource":{"$ref":"#/components/schemas/Output_list_views_item_resource"},"revision":{"type":"number"},"settings":{"$ref":"#/components/schemas/Output_list_views_item_settings"},"updatedAt":{"type":"string"}},"required":["createdAt","id","name","resource","revision","settings","updatedAt"]},"Output_list_custom_fields_items_item_3":{"type":"object","properties":{"code":{"type":"string"},"createdAt":{"type":"string"},"description":{"type":"string"},"format":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference_customField_format"},"id":{"type":"string"},"mode":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference_customField_mode"},"name":{"type":"string"},"objectTypes":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_objectTypes_item"}},"resultType":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_resultType"},"revision":{"type":"number"},"updatedAt":{"type":"string"}},"required":["code","createdAt","description","format","id","mode","name","objectTypes","resultType","revision","updatedAt"]},"Output_list_custom_fields_items_item_4":{"type":"object","properties":{"author":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_author"},"code":{"type":"string"},"createdAt":{"type":"string"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_views_item_settings_customFields_item"}},"dataMode":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_dataMode"},"description":{"type":"string"},"id":{"type":"string"},"inputContract":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_inputContract"},"name":{"type":"string"},"objectTypes":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_objectTypes_item_2"}},"origin":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_origin"},"projectId":{"type":"string"},"requirements":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_requirements"},"revision":{"type":"number"},"updatedAt":{"type":"string"}},"required":["author","code","createdAt","customFields","dataMode","description","id","inputContract","name","objectTypes","origin","projectId","requirements","revision","updatedAt"]},"Output_list_custom_fields_items_item_author":{"type":"object","properties":{"id":{"type":"string"},"kind":{"$ref":"#/components/schemas/Output_list_reports_item_author_kind"},"name":{"type":"string"}},"required":["id","kind","name"]},"Output_list_custom_fields_items_item_dataMode":{"enum":["summary","full"]},"Output_list_custom_fields_items_item_inputContract":{"enum":["object","legacy-trace"]},"Output_list_custom_fields_items_item_objectTypes_item":{"enum":["agent","app","trace","session","dataset","scorer","dashboard","workflow","prompt","dataset-item","eval-run","eval-result","review-session","review-item","human-score","score-collection","alert","notification","table-row"]},"Output_list_custom_fields_items_item_objectTypes_item_2":{"enum":["trace","dataset-item"]},"Output_list_custom_fields_items_item_origin":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_origin_2"}]},"Output_list_custom_fields_items_item_origin_2":{"type":"object","properties":{"datasetId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"datasetName":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"group":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_origin_group"},"name":{"type":"string"},"operation":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"source":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_origin_source"},"traceId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"traceName":{"$ref":"#/components/schemas/Output_run_app_completedAt"}},"required":["datasetId","datasetName","group","name","operation","source","traceId","traceName"]},"Output_list_custom_fields_items_item_origin_group":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_run_app_groups_item"}]},"Output_list_custom_fields_items_item_origin_source":{"anyOf":[{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_origin_source_2"},{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_origin_source_3"}]},"Output_list_custom_fields_items_item_origin_source_2":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","const":"trace"}},"required":["id","kind"]},"Output_list_custom_fields_items_item_origin_source_3":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","const":"dataset-item"}},"required":["id","kind"]},"Output_list_custom_fields_items_item_requirements":{"anyOf":[{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_requirements_item"}}]},"Output_list_custom_fields_items_item_requirements_item":{"type":"object","properties":{"nonEmpty":{"type":"boolean"},"path":{"type":"string"},"required":{"type":"boolean"},"type":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_requirements_item_type"}},"required":["nonEmpty","path","required","type"]},"Output_list_custom_fields_items_item_requirements_item_type":{"enum":["string","number","boolean","object","null","any","array"]},"Output_list_custom_fields_items_item_resultType":{"enum":["string","number","boolean","object","any","array"]},"Output_list_dashboards_item_widgets_item":{"anyOf":[{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_2"},{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_3"}]},"Output_list_dashboards_item_widgets_item_2":{"type":"object","properties":{"compare":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_compare"},"groups":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_groups"},"id":{"type":"string"},"layout":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_layout"},"presentation":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_presentation"},"query":{"$ref":"#/components/schemas/Output_query_metrics_query"},"series":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_imagePaths"},"showGroupIcons":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"title":{"type":"string"},"trendDirection":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_trendDirection"},"type":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_type"},"width":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_width"}},"required":["id","query","title","type","width"]},"Output_list_dashboards_item_widgets_item_3":{"type":"object","properties":{"content":{"type":"string"},"id":{"type":"string"},"layout":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_layout"},"title":{"type":"string"},"type":{"type":"string","const":"text"},"width":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_width"}},"required":["content","id","title","type","width"]},"Output_list_dashboards_item_widgets_item_compare":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_compare_2"},"Output_list_dashboards_item_widgets_item_compare_2":{"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/Output_run_app_groups_item_type"}},"required":["name","type"]},"Output_list_dashboards_item_widgets_item_groups":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_groups_item"}},"Output_list_dashboards_item_widgets_item_groups_item":{"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/Output_run_app_groups_item_type"},"versions":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_groups_item_versions"}},"required":["name","type"]},"Output_list_dashboards_item_widgets_item_groups_item_versions":{"type":"array","items":{"$ref":"#/components/schemas/Output_run_app_completedAt"}},"Output_list_dashboards_item_widgets_item_layout":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_layout_2"},"Output_list_dashboards_item_widgets_item_layout_2":{"type":"object","properties":{"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["h","w","x","y"]},"Output_list_dashboards_item_widgets_item_presentation":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_presentation_2"},"Output_list_dashboards_item_widgets_item_presentation_2":{"type":"object","properties":{"labels":{"$ref":"#/components/schemas/Output_run_app_evaluatorVersionIds"},"members":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_presentation_members"},"showSummary":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"}}},"Output_list_dashboards_item_widgets_item_presentation_members":{"$ref":"#/components/schemas/Output_Record_11"},"Output_list_dashboards_item_widgets_item_presentation_members_value":{"type":"object","properties":{"decimals":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"unit":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_presentation_members_value_unit"},"values":{"$ref":"#/components/schemas/Output_run_app_evaluatorVersionIds"}}},"Output_list_dashboards_item_widgets_item_presentation_members_value_unit":{"enum":["number","auto","seconds","milliseconds","USD","percent"]},"Output_list_dashboards_item_widgets_item_trendDirection":{"enum":["increase","decrease","neutral"]},"Output_list_dashboards_item_widgets_item_type":{"enum":["table","metric","bar","donut","stacked","line","matrix","scatter"]},"Output_list_dashboards_item_widgets_item_width":{"enum":[1,2,3]},"Output_list_dataset_items":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_dataset_items_items_item"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_dataset_items_items_item":{"type":"object","properties":{"createdAt":{"type":"string"},"datasetId":{"type":"string"},"datasetRevision":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"datasetVersionId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"expectedOutput":{"$ref":"#/components/schemas/Output_JsonValue"},"id":{"type":"string"},"input":{"$ref":"#/components/schemas/Output_JsonValue"},"metadata":{"$ref":"#/components/schemas/Output_JsonObject"},"observedOutput":{"$ref":"#/components/schemas/Output_run_app_metadata_value"},"omittedFields":{"$ref":"#/components/schemas/Output_list_dataset_items_items_item_omittedFields"},"sourceSpanEvidence":{"$ref":"#/components/schemas/Output_get_dataset_items_item_sourceSpanEvidence"},"sourceSpanId":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"sourceTraceId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"updatedAt":{"type":"string"},"versionId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["createdAt","datasetId","expectedOutput","id","input","metadata","sourceTraceId","updatedAt"]},"Output_list_dataset_items_items_item_omittedFields":{"$ref":"#/components/schemas/Output_Partial_3"},"Output_list_dataset_items_items_item_omittedFields_expectedOutput":{"$ref":"#/components/schemas/Output_list_dataset_items_items_item_omittedFields_expectedOutput_2"},"Output_list_dataset_items_items_item_omittedFields_expectedOutput_2":{"type":"object","properties":{"bytes":{"type":"number"},"preview":{"type":"string"}},"required":["bytes","preview"]},"Output_list_dataset_snapshots":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_Snapshot"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_datasets":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_Dataset"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_datasets_items_item_fieldSchemas":{"$ref":"#/components/schemas/Output_Partial_2"},"Output_list_datasets_items_item_fieldSchemas_expectedOutput":{"$ref":"#/components/schemas/Output_list_datasets_items_item_fieldSchemas_expectedOutput_2"},"Output_list_datasets_items_item_fieldSchemas_expectedOutput_2":{"type":"object","properties":{"enforced":{"type":"boolean"},"schema":{"$ref":"#/components/schemas/Output_list_datasets_items_item_fieldSchemas_expectedOutput_schema"}},"required":["enforced","schema"]},"Output_list_datasets_items_item_fieldSchemas_expectedOutput_schema":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_JsonObject"}]},"Output_list_datasets_items_item_metadata":{"$ref":"#/components/schemas/Output_JsonObject"},"Output_list_eval_run_groups":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_eval_run_groups_items_item"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_eval_run_groups_items_item":{"type":"object","properties":{"filter":{"type":"string"},"id":{"type":"string"},"name":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"runCount":{"type":"number"},"state":{"$ref":"#/components/schemas/Output_list_eval_run_groups_items_item_state"},"type":{"$ref":"#/components/schemas/Output_run_app_groups_item_type"}},"required":["filter","id","name","runCount","state","type"]},"Output_list_eval_run_groups_items_item_state":{"enum":["assigned","unassigned","unresolved"]},"Output_list_eval_runs":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_EvalRunSummary"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_human_scores_scores_item":{"type":"object","properties":{"archived":{"type":"boolean"},"createdAt":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"max":{"type":"number"},"min":{"type":"number"},"name":{"type":"string"},"revision":{"type":"number"},"step":{"type":"number"},"type":{"type":"string","const":"numeric"},"updatedAt":{"type":"string"}},"required":["archived","createdAt","description","id","max","min","name","revision","step","type","updatedAt"]},"Output_list_human_scores_scores_item_2":{"type":"object","properties":{"archived":{"type":"boolean"},"createdAt":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"multiple":{"type":"boolean"},"name":{"type":"string"},"options":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_human_scores_scores_item_options_item"}},"revision":{"type":"number"},"type":{"type":"string","const":"categorical"},"updatedAt":{"type":"string"}},"required":["archived","createdAt","description","id","multiple","name","options","revision","type","updatedAt"]},"Output_list_human_scores_scores_item_3":{"type":"object","properties":{"archived":{"type":"boolean"},"createdAt":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"maxLength":{"type":"number"},"name":{"type":"string"},"revision":{"type":"number"},"type":{"type":"string","const":"text"},"updatedAt":{"type":"string"}},"required":["archived","createdAt","description","id","maxLength","name","revision","type","updatedAt"]},"Output_list_human_scores_scores_item_options_item":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"]},"Output_list_report_templates_item":{"type":"object","properties":{"description":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"}},"required":["description","id","name"]},"Output_list_reports_item_author":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_ReportAuthor"}]},"Output_list_reports_item_author_kind":{"enum":["session","api-key","oauth"]},"Output_list_reports_item_status":{"enum":["draft","published"]},"Output_list_review_sessions":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReviewSession"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_review_sessions_items_item_collection":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_HumanScoreCollectionSnapshot"}]},"Output_list_review_sessions_items_item_label":{"enum":["AI-labelled","Human-reviewed","Unreviewed"]},"Output_list_review_sessions_items_item_status":{"enum":["completed","pending","in_progress"]},"Output_list_saved_views":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_SavedView"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_saved_views_items_item_sort":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_SavedViewSort"}]},"Output_list_scorer_libraries":{"type":"object","properties":{"defaultMappings":{"$ref":"#/components/schemas/Output_list_scorer_libraries_defaultMappings"},"libraries":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item"}}},"required":["defaultMappings","libraries"]},"Output_list_scorer_libraries_defaultMappings":{"type":"object","properties":{"expected":{"type":"string"},"input":{"type":"string"},"output":{"type":"string"}},"required":["expected","input","output"]},"Output_list_scorer_libraries_libraries_item":{"type":"object","properties":{"adapterVersion":{"type":"number","const":1},"docsUrl":{"type":"string"},"evaluators":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item"}},"id":{"type":"string","const":"autoevals"},"name":{"type":"string"},"version":{"type":"string","const":"0.3.0"}},"required":["adapterVersion","docsUrl","evaluators","id","name","version"]},"Output_list_scorer_libraries_libraries_item_evaluators_item":{"anyOf":[{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_2"},{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_3"},{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_4"},{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_5"},{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_6"},{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_7"}]},"Output_list_scorer_libraries_libraries_item_evaluators_item_2":{"type":"object","properties":{"arguments":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_arguments_item"}},"description":{"type":"string"},"id":{"type":"string","const":"ExactMatch"},"modelRequired":{"type":"boolean","const":false},"name":{"type":"string"},"valueType":{"type":"string","const":"json"}},"required":["arguments","description","id","modelRequired","name","valueType"]},"Output_list_scorer_libraries_libraries_item_evaluators_item_3":{"type":"object","properties":{"arguments":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_arguments_item"}},"description":{"type":"string"},"id":{"type":"string","const":"Levenshtein"},"modelRequired":{"type":"boolean","const":false},"name":{"type":"string"},"valueType":{"type":"string","const":"string"}},"required":["arguments","description","id","modelRequired","name","valueType"]},"Output_list_scorer_libraries_libraries_item_evaluators_item_4":{"type":"object","properties":{"arguments":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_arguments_item"}},"description":{"type":"string"},"id":{"type":"string","const":"NumericDiff"},"modelRequired":{"type":"boolean","const":false},"name":{"type":"string"},"valueType":{"type":"string","const":"number"}},"required":["arguments","description","id","modelRequired","name","valueType"]},"Output_list_scorer_libraries_libraries_item_evaluators_item_5":{"type":"object","properties":{"arguments":{"type":"array","items":{"type":"string","const":"output"}},"description":{"type":"string"},"id":{"type":"string","const":"ValidJSON"},"modelRequired":{"type":"boolean","const":false},"name":{"type":"string"},"valueType":{"type":"string","const":"json"}},"required":["arguments","description","id","modelRequired","name","valueType"]},"Output_list_scorer_libraries_libraries_item_evaluators_item_6":{"type":"object","properties":{"arguments":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_arguments_item"}},"description":{"type":"string"},"id":{"type":"string","const":"JSONDiff"},"modelRequired":{"type":"boolean","const":false},"name":{"type":"string"},"valueType":{"type":"string","const":"json"}},"required":["arguments","description","id","modelRequired","name","valueType"]},"Output_list_scorer_libraries_libraries_item_evaluators_item_7":{"type":"object","properties":{"arguments":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_scorer_libraries_libraries_item_evaluators_item_arguments_item_2"}},"description":{"type":"string"},"id":{"type":"string","const":"Factuality"},"modelRequired":{"type":"boolean","const":true},"name":{"type":"string"},"valueType":{"type":"string","const":"string"}},"required":["arguments","description","id","modelRequired","name","valueType"]},"Output_list_scorer_libraries_libraries_item_evaluators_item_arguments_item":{"enum":["output","expected"]},"Output_list_scorer_libraries_libraries_item_evaluators_item_arguments_item_2":{"enum":["input","output","expected"]},"Output_list_scorer_versions":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_scorer_versions_items_item"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_scorer_versions_items_item":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"Output_list_sessions":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_Session"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_trace_scores":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_trace_scores_items_item"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_trace_scores_items_item":{"type":"object","properties":{"definition":{"$ref":"#/components/schemas/Output_run_app_results_item_definition"},"error":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"evalResultId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evalRunId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evaluatorId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evaluatorName":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evaluatorVersion":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"external":{"$ref":"#/components/schemas/Output_get_trace_scores_item_external"},"id":{"type":"string"},"metadata":{"$ref":"#/components/schemas/Output_list_datasets_items_item_metadata"},"name":{"type":"string"},"passed":{"$ref":"#/components/schemas/Output_get_trace_scores_item_passed"},"reasoning":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"score":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"status":{"$ref":"#/components/schemas/Output_MetricStatus"},"valueLabel":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["evalResultId","evalRunId","evaluatorId","evaluatorName","id","name","score","status"]},"Output_list_trace_spans":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_Span"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_traces":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_TraceSummary"}},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["items","nextCursor"]},"Output_list_views_item_resource":{"enum":["traces","alerts","reviews","prompts","reports","scorers","agents","workflows","sessions","eval-runs","review-session","session-traces","evaluations","eval-results","eval-comparison","datasets","dataset-items","dataset-item-runs","playground-apps","playground-traces","human-scores","score-collections","dashboards","dashboard-table","notifications"]},"Output_list_views_item_settings":{"type":"object","properties":{"columnOrder":{"type":"array","items":{"type":"string"}},"columnSizing":{"$ref":"#/components/schemas/Output_Record_3"},"columnVisibility":{"$ref":"#/components/schemas/Output_Record_8"},"computedColumns":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_views_item_settings_computedColumns_item"}},"customFields":{"$ref":"#/components/schemas/Output_list_views_item_settings_customFields"},"detailsOpen":{"type":"boolean"},"fieldViews":{"$ref":"#/components/schemas/Output_list_views_item_settings_fieldViews"},"objectViews":{"$ref":"#/components/schemas/Output_list_views_item_settings_objectViews"},"pageSettings":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library_options_schema"},"query":{"$ref":"#/components/schemas/Output_list_views_item_settings_query"},"queryParams":{"$ref":"#/components/schemas/Output_list_views_item_settings_queryParams"},"rowHeight":{"$ref":"#/components/schemas/Output_list_views_item_settings_rowHeight"},"schemaVersion":{"type":"number","const":1},"view":{"$ref":"#/components/schemas/Output_list_views_item_settings_view"}},"required":["columnOrder","columnSizing","columnVisibility","computedColumns","detailsOpen","schemaVersion","view"]},"Output_list_views_item_settings_computedColumns_item":{"type":"object","properties":{"code":{"type":"string"},"format":{"$ref":"#/components/schemas/Output_list_views_item_settings_computedColumns_item_format"},"id":{"type":"string"},"mode":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference_customField_mode"},"name":{"type":"string"}},"required":["code","id","mode","name"]},"Output_list_views_item_settings_computedColumns_item_format":{"enum":["text","markdown"]},"Output_list_views_item_settings_customFields":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_views_item_settings_customFields_item"}},"Output_list_views_item_settings_customFields_item":{"type":"object","properties":{"id":{"type":"string"},"revision":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["id"]},"Output_list_views_item_settings_fieldViews":{"$ref":"#/components/schemas/Output_Record_9"},"Output_list_views_item_settings_objectViews":{"$ref":"#/components/schemas/Output_Partial"},"Output_list_views_item_settings_objectViews_dataset_item":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_list_views_item_settings_customFields_item"}]},"Output_list_views_item_settings_query":{"$ref":"#/components/schemas/Output_list_views_item_settings_query_2"},"Output_list_views_item_settings_query_2":{"type":"object","properties":{"columns":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_views_item_settings_query_columns_item"}},"filters":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_views_item_settings_query_filters_item"}},"resource":{"$ref":"#/components/schemas/Output_list_views_item_settings_query_resource"},"sort":{"$ref":"#/components/schemas/Output_list_views_item_settings_query_sort"}},"required":["columns","filters","resource","sort"]},"Output_list_views_item_settings_query_columns_item":{"type":"object","properties":{"format":{"$ref":"#/components/schemas/Output_list_views_item_settings_query_columns_item_format"},"id":{"type":"string"},"label":{"type":"string"},"selector":{"type":"string"}},"required":["format","id","label","selector"]},"Output_list_views_item_settings_query_columns_item_format":{"enum":["number","boolean","json","text"]},"Output_list_views_item_settings_query_filters_item":{"type":"object","properties":{"operator":{"$ref":"#/components/schemas/Output_list_views_item_settings_query_filters_item_operator"},"selector":{"type":"string"},"value":{"$ref":"#/components/schemas/Output_list_views_item_settings_query_filters_item_value"}},"required":["operator","selector"]},"Output_list_views_item_settings_query_filters_item_operator":{"enum":["equals","notEquals","exists"]},"Output_list_views_item_settings_query_filters_item_value":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"boolean","const":false},{"type":"boolean","const":true},{"type":"array","items":{"$ref":"#/components/schemas/Output_JSONType"}},{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library_options_schema_value"}]},"Output_list_views_item_settings_query_resource":{"enum":["traces","eval-results"]},"Output_list_views_item_settings_query_sort":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_list_views_item_settings_query_sort_2"}]},"Output_list_views_item_settings_query_sort_2":{"type":"object","properties":{"direction":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_defaultOrder_item_1"},"selector":{"type":"string"}},"required":["direction","selector"]},"Output_list_views_item_settings_queryParams":{"$ref":"#/components/schemas/Output_Record_10"},"Output_list_views_item_settings_rowHeight":{"enum":["compact","tall"]},"Output_list_views_item_settings_view":{"enum":["table","cards"]},"Output_MdxNode":{"type":"object","properties":{"children":{"type":"array","items":{"$ref":"#/components/schemas/Output_MdxNode"}},"column":{"type":"number"},"line":{"type":"number"},"props":{"$ref":"#/components/schemas/Output_Record"},"tag":{"type":"string"},"text":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"widgetId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["children","column","line","props","tag"]},"Output_MetricStatus":{"enum":["error","empty","ok"]},"Output_Partial":{"type":"object","properties":{"dataset-item":{"$ref":"#/components/schemas/Output_list_views_item_settings_objectViews_dataset_item"},"trace":{"$ref":"#/components/schemas/Output_list_views_item_settings_objectViews_dataset_item"}}},"Output_Partial_2":{"type":"object","properties":{"expectedOutput":{"$ref":"#/components/schemas/Output_list_datasets_items_item_fieldSchemas_expectedOutput"},"input":{"$ref":"#/components/schemas/Output_list_datasets_items_item_fieldSchemas_expectedOutput"},"metadata":{"$ref":"#/components/schemas/Output_list_datasets_items_item_fieldSchemas_expectedOutput"}}},"Output_Partial_3":{"type":"object","properties":{"expectedOutput":{"$ref":"#/components/schemas/Output_list_dataset_items_items_item_omittedFields_expectedOutput"},"input":{"$ref":"#/components/schemas/Output_list_dataset_items_items_item_omittedFields_expectedOutput"},"metadata":{"$ref":"#/components/schemas/Output_list_dataset_items_items_item_omittedFields_expectedOutput"},"sourceSpanEvidence":{"$ref":"#/components/schemas/Output_list_dataset_items_items_item_omittedFields_expectedOutput"}}},"Output_Pick":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/Output_JsonObject"},"endedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"id":{"type":"string"},"kind":{"$ref":"#/components/schemas/Output_SpanKind"},"name":{"type":"string"},"parentId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"startedAt":{"type":"string"}},"required":["attributes","endedAt","id","kind","name","parentId","startedAt"]},"Output_Pick_2":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/Output_JsonObject"},"endedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"id":{"type":"string"},"startedAt":{"type":"string"}},"required":["attributes","endedAt","id","startedAt"]},"Output_preview_dashboard":{"type":"object","properties":{"comparisons":{"type":"array","items":{"$ref":"#/components/schemas/Output_preview_dashboard_comparisons_item"}},"dashboard":{"$ref":"#/components/schemas/Output_Dashboard"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Output_query_metrics"}}},"required":["comparisons","dashboard","results"]},"Output_preview_dashboard_comparisons_item":{"type":"object","properties":{"cohorts":{"type":"array","items":{"$ref":"#/components/schemas/Output_preview_dashboard_comparisons_item_cohorts_item"}},"widgetId":{"type":"string"}},"required":["cohorts","widgetId"]},"Output_preview_dashboard_comparisons_item_cohorts_item":{"type":"object","properties":{"label":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"result":{"$ref":"#/components/schemas/Output_query_metrics"}},"required":["result"]},"Output_preview_object_view":{"anyOf":[{"$ref":"#/components/schemas/Output_preview_object_view_2"},{"$ref":"#/components/schemas/Output_preview_object_view_3"}]},"Output_preview_object_view_2":{"type":"object","properties":{"compatibility":{"$ref":"#/components/schemas/Output_preview_object_view_compatibility"},"compiled":{"type":"boolean"},"diagnostics":{"type":"array","items":false},"id":{"type":"string"},"message":{"type":"string"},"rendered":{"type":"boolean"},"revision":{"type":"number"}},"required":["compatibility","compiled","diagnostics","id","message","rendered","revision"]},"Output_preview_object_view_3":{"type":"object","properties":{"compatibility":{"$ref":"#/components/schemas/Output_preview_object_view_compatibility"},"compiled":{"type":"boolean"},"diagnostics":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"rendered":{"type":"boolean"},"revision":{"type":"number"}},"required":["compatibility","compiled","diagnostics","id","rendered","revision"]},"Output_preview_object_view_compatibility":{"anyOf":[{"$ref":"#/components/schemas/Output_preview_object_view_compatibility_2"},{"$ref":"#/components/schemas/Output_preview_object_view_compatibility_3"},{"$ref":"#/components/schemas/Output_preview_object_view_compatibility_4"}]},"Output_preview_object_view_compatibility_2":{"type":"object","properties":{"label":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}},"state":{"type":"string","const":"unknown"}},"required":["label","reasons","state"]},"Output_preview_object_view_compatibility_3":{"type":"object","properties":{"label":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}},"state":{"type":"string","const":"missing"}},"required":["label","reasons","state"]},"Output_preview_object_view_compatibility_4":{"type":"object","properties":{"label":{"type":"string"},"reasons":{"type":"array","items":false},"state":{"type":"string","const":"met"}},"required":["label","reasons","state"]},"Output_probe_scorer_runtime":{"type":"object","properties":{"checks":{"type":"array","items":{"$ref":"#/components/schemas/Output_JsonObject"}},"evaluationRunCreated":{"type":"boolean"},"mode":{"type":"string"}},"required":["checks","evaluationRunCreated","mode"]},"Output_promote_spans_cases_item":{"type":"object","properties":{"expectedOutput":{"$ref":"#/components/schemas/Output_run_app_metadata_value"},"id":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"input":{"$ref":"#/components/schemas/Output_JsonValue"},"metadata":{"$ref":"#/components/schemas/Output_list_datasets_items_item_metadata"},"observedOutput":{"$ref":"#/components/schemas/Output_JsonValue"},"sourceSpanEvidence":{"$ref":"#/components/schemas/Output_TraceForEvaluation"},"sourceSpanId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"sourceTraceId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["input","observedOutput","sourceSpanEvidence"]},"Output_PublicAppConnection":{"anyOf":[{"$ref":"#/components/schemas/Output_list_apps_item_connection"},{"$ref":"#/components/schemas/Output_list_apps_item_connection_2"}]},"Output_query_metrics":{"type":"object","properties":{"annotation":{"$ref":"#/components/schemas/Output_query_metrics_annotation"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Output_Record_7"}},"meta":{"$ref":"#/components/schemas/Output_query_metrics_meta"},"query":{"$ref":"#/components/schemas/Output_query_metrics_query"}},"required":["annotation","data","meta","query"]},"Output_query_metrics_annotation":{"type":"object","properties":{"dimensions":{"$ref":"#/components/schemas/Output_Record_6"},"measures":{"$ref":"#/components/schemas/Output_Record_6"},"segments":{"$ref":"#/components/schemas/Output_Record_6"},"timeDimensions":{"$ref":"#/components/schemas/Output_Record_6"}},"required":["dimensions","measures","segments","timeDimensions"]},"Output_query_metrics_annotation_dimensions_value":{"type":"object","properties":{"aggregation":{"$ref":"#/components/schemas/Output_query_metrics_annotation_dimensions_value_aggregation"},"attribution":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"basis":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"currency":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"definition":{"type":"string"},"denominator":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"description":{"type":"string"},"eligiblePopulation":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"estimated":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"eventTime":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"factIdentity":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"format":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"kind":{"$ref":"#/components/schemas/Output_query_metrics_annotation_dimensions_value_kind"},"limitations":{"type":"array","items":{"type":"string"}},"metricVersion":{"type":"string"},"name":{"type":"string"},"overlap":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"title":{"type":"string"},"type":{"$ref":"#/components/schemas/Output_query_metrics_annotation_dimensions_value_type"},"unit":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["definition","description","kind","limitations","metricVersion","name","title","type"]},"Output_query_metrics_annotation_dimensions_value_aggregation":{"enum":["minimum","maximum","sum","count","countDistinct","average","percentile","ratio"]},"Output_query_metrics_annotation_dimensions_value_kind":{"enum":["measure","dimension","timeDimension","segment"]},"Output_query_metrics_annotation_dimensions_value_type":{"enum":["string","number","boolean","date"]},"Output_query_metrics_data_item_value":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"boolean","const":false},{"type":"boolean","const":true}]},"Output_query_metrics_meta":{"type":"object","properties":{"asOf":{"type":"string"},"contractVersion":{"type":"string","const":"datool-semantic-v2"},"generatedAt":{"type":"string"},"metricVersions":{"$ref":"#/components/schemas/Output_Record_2"},"page":{"$ref":"#/components/schemas/Output_query_metrics_meta_page"},"quality":{"$ref":"#/components/schemas/Output_query_metrics_meta_quality"},"requestId":{"type":"string"}},"required":["asOf","contractVersion","generatedAt","metricVersions","page","quality","requestId"]},"Output_query_metrics_meta_page":{"type":"object","properties":{"limit":{"type":"number"},"offset":{"type":"number"},"total":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"}},"required":["limit","offset"]},"Output_query_metrics_meta_quality":{"type":"object","properties":{"limitations":{"type":"array","items":{"type":"string"}},"status":{"$ref":"#/components/schemas/Output_query_metrics_meta_quality_status"},"warnings":{"type":"array","items":{"type":"string"}}},"required":["limitations","status","warnings"]},"Output_query_metrics_meta_quality_status":{"enum":["partial","complete"]},"Output_query_metrics_query":{"type":"object","properties":{"classification":{"$ref":"#/components/schemas/Output_query_metrics_query_classification"},"comparison":{"$ref":"#/components/schemas/Output_query_metrics_query_comparison"},"dimensions":{"type":"array","items":{"type":"string"}},"filters":{"type":"array","items":{"$ref":"#/components/schemas/Output_SemanticFilter"}},"having":{"$ref":"#/components/schemas/Output_query_metrics_query_having"},"limit":{"type":"number"},"measures":{"type":"array","items":{"type":"string"}},"offset":{"type":"number"},"order":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string"},{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_defaultOrder_item_1"}],"minItems":2,"maxItems":2}},"segments":{"type":"array","items":{"type":"string"}},"timeDimensions":{"type":"array","items":{"$ref":"#/components/schemas/Output_query_metrics_query_timeDimensions_item"}},"timezone":{"type":"string"},"total":{"type":"boolean"}},"required":["dimensions","filters","limit","measures","offset","order","segments","timeDimensions","timezone","total"]},"Output_query_metrics_query_classification":{"$ref":"#/components/schemas/Output_query_metrics_query_classification_2"},"Output_query_metrics_query_classification_2":{"type":"object","properties":{"actualPath":{"type":"array","items":{"type":"string"}},"positiveClass":{"$ref":"#/components/schemas/Output_query_metrics_query_classification_positiveClass"},"predictedPath":{"type":"array","items":{"type":"string"}}},"required":["actualPath","positiveClass","predictedPath"]},"Output_query_metrics_query_classification_positiveClass":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean","const":false},{"type":"boolean","const":true}]},"Output_query_metrics_query_comparison":{"$ref":"#/components/schemas/Output_query_metrics_query_comparison_2"},"Output_query_metrics_query_comparison_2":{"type":"object","properties":{"baselineRunIds":{"type":"array","items":{"type":"string"}},"candidateRunIds":{"type":"array","items":{"type":"string"}},"evaluatorVersionId":{"type":"string"},"lowerIsBetter":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"}},"required":["baselineRunIds","candidateRunIds","evaluatorVersionId"]},"Output_query_metrics_query_filters_item":{"type":"object","properties":{"member":{"type":"string"},"operator":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_members_item_filterOperators_item"},"path":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_imagePaths"},"values":{"$ref":"#/components/schemas/Output_query_metrics_query_filters_item_values"}},"required":["member","operator"]},"Output_query_metrics_query_filters_item_2":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/components/schemas/Output_SemanticFilter"}}},"required":["and"]},"Output_query_metrics_query_filters_item_3":{"type":"object","properties":{"or":{"type":"array","items":{"$ref":"#/components/schemas/Output_SemanticFilter"}}},"required":["or"]},"Output_query_metrics_query_filters_item_values":{"type":"array","items":{"$ref":"#/components/schemas/Output_query_metrics_data_item_value"}},"Output_query_metrics_query_having":{"type":"array","items":{"$ref":"#/components/schemas/Output_query_metrics_query_filters_item"}},"Output_query_metrics_query_timeDimensions_item":{"type":"object","properties":{"dateRange":{"type":"array","prefixItems":[{"type":"string"},{"type":"string"}],"minItems":2,"maxItems":2},"dimension":{"type":"string"},"granularity":{"$ref":"#/components/schemas/Output_query_metrics_query_timeDimensions_item_granularity"}},"required":["dateRange","dimension"]},"Output_query_metrics_query_timeDimensions_item_granularity":{"enum":["day","week","month"]},"Output_Readonly":{"type":"object","properties":{"models":{"type":"array","items":{"$ref":"#/components/schemas/Output_Readonly_2"}}},"required":["models"]},"Output_Readonly_2":{"type":"object","properties":{"defaultMeasures":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_defaultMeasures"},"defaultOrder":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_defaultOrder"},"maxLimit":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"maxWindowDays":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"members":{"type":"array","items":{"$ref":"#/components/schemas/Output_SemanticMemberDefinition"}},"name":{"type":"string"},"source":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_source"},"version":{"type":"string"}},"required":["members","name","version"]},"Output_Readonly_3":{"type":"object","properties":{"description":{"type":"string"},"grain":{"type":"string"},"order":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"replacement":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"title":{"type":"string"},"unavailable":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_source_unavailable"},"visibility":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_source_visibility"}},"required":["description","grain","title","visibility"]},"Output_Readonly_4":{"type":"object","properties":{"reason":{"type":"string"},"title":{"type":"string"}},"required":["reason","title"]},"Output_Record":{"type":"object","additionalProperties":{"description":"Application-defined JSON value."}},"Output_Record_10":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"Output_Record_11":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_list_dashboards_item_widgets_item_presentation_members_value"}},"Output_Record_12":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_JsonValue"}},"Output_Record_13":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_get_report_template_document_bindings_value"}},"Output_Record_14":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_get_report_template_document_sources_value"}},"Output_Record_2":{"type":"object","additionalProperties":{"type":"string"}},"Output_Record_3":{"type":"object","additionalProperties":{"type":"number"}},"Output_Record_4":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_JSONType"}},"Output_Record_5":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_ScorerExecutionStatus"}},"Output_Record_6":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_query_metrics_annotation_dimensions_value"}},"Output_Record_7":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_query_metrics_data_item_value"}},"Output_Record_8":{"type":"object","additionalProperties":{"type":"boolean"}},"Output_Record_9":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference_view"}},"Output_register_app":{"type":"object","properties":{"codeProvenance":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance"},"connection":{"$ref":"#/components/schemas/Output_PublicAppConnection"},"defaultInput":{"description":"Application-defined JSON value."},"evaluatorIds":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"inputSchema":{"$ref":"#/components/schemas/Output_Record"},"internalTracing":{"type":"boolean"},"mode":{"$ref":"#/components/schemas/Output_list_apps_item_mode"},"name":{"type":"string"},"outputSchema":{"$ref":"#/components/schemas/Output_Record"},"revision":{"type":"number"}},"required":["connection","evaluatorIds","id","inputSchema","internalTracing","mode","name","outputSchema","revision"]},"Output_Report":{"type":"object","properties":{"author":{"$ref":"#/components/schemas/Output_list_reports_item_author"},"config":{"$ref":"#/components/schemas/Output_get_report_config"},"createdAt":{"type":"string"},"description":{"type":"string"},"document":{"$ref":"#/components/schemas/Output_get_report_document"},"draftInput":{"$ref":"#/components/schemas/Output_get_report_draftInput"},"frozenAt":{"type":"string"},"id":{"type":"string"},"layout":{"$ref":"#/components/schemas/Output_get_report_layout"},"mdx":{"$ref":"#/components/schemas/Output_get_report_mdx"},"name":{"type":"string"},"number":{"type":"number"},"presentation":{"$ref":"#/components/schemas/Output_get_report_presentation"},"presentationRevision":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"publicPath":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"publicUrl":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"publishedAt":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"revision":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"snapshot":{"$ref":"#/components/schemas/Output_ReportSnapshot"},"status":{"$ref":"#/components/schemas/Output_list_reports_item_status"},"templateId":{"type":"string"},"updatedAt":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"widgetCount":{"type":"number"}},"required":["config","createdAt","description","frozenAt","id","name","number","snapshot","templateId","widgetCount"]},"Output_ReportAuthor":{"type":"object","properties":{"id":{"type":"string"},"kind":{"$ref":"#/components/schemas/Output_list_reports_item_author_kind"},"name":{"type":"string"}},"required":["id","kind","name"]},"Output_ReportDiagnostic":{"type":"object","properties":{"column":{"type":"number"},"line":{"type":"number"},"message":{"type":"string"},"path":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"severity":{"$ref":"#/components/schemas/Output_validate_report_diagnostics_item_severity"}},"required":["column","line","message","severity"]},"Output_ReportRenderCheck":{"type":"object","properties":{"expandedDisclosureCheck":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"markupBytes":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"message":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"nodeCount":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"renderer":{"type":"string","const":"react-dom/server"},"responsiveReviewRequired":{"type":"boolean","const":true},"scope":{"type":"string","const":"render"},"status":{"$ref":"#/components/schemas/Output_validate_report_checks_render"},"visualReviewRequired":{"type":"boolean","const":true}},"required":["renderer","responsiveReviewRequired","scope","status","visualReviewRequired"]},"Output_ReportSnapshot":{"type":"object","properties":{"evidence":{"$ref":"#/components/schemas/Output_get_report_snapshot_evidence"},"highlights":{"$ref":"#/components/schemas/Output_get_report_snapshot_highlights"},"positions":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_report_snapshot_positions_item"}},"references":{"$ref":"#/components/schemas/Output_get_report_snapshot_references"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Output_query_metrics"}},"schemaVersion":{"type":"number","const":1}},"required":["positions","results","schemaVersion"]},"Output_ReportSummary":{"type":"object","properties":{"author":{"$ref":"#/components/schemas/Output_list_reports_item_author"},"createdAt":{"type":"string"},"description":{"type":"string"},"frozenAt":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"number":{"type":"number"},"publishedAt":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"revision":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"status":{"$ref":"#/components/schemas/Output_list_reports_item_status"},"templateId":{"type":"string"},"updatedAt":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"widgetCount":{"type":"number"}},"required":["createdAt","description","frozenAt","id","name","number","templateId","widgetCount"]},"Output_resolve_page_view":{"type":"object","properties":{"applied":{"type":"boolean"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item"}},"objectViews":{"$ref":"#/components/schemas/Output_resolve_page_view_objectViews"},"path":{"type":"string"},"view":{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_2"}},"required":["applied","fields","objectViews","path","view"]},"Output_resolve_page_view_objectViews":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_resolve_page_view_objectViews_value"}},"Output_resolve_page_view_objectViews_value":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_2"},{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_3"},{"$ref":"#/components/schemas/Output_list_custom_fields_items_item_4"}]},"Output_resolve_trace":{"type":"object","properties":{"id":{"type":"string"},"kind":{"$ref":"#/components/schemas/Output_resolve_trace_kind"},"linkKind":{"type":"string"},"path":{"type":"string"},"projectId":{"type":"string"},"url":{"$ref":"#/components/schemas/Output_run_app_completedAt"}},"required":["id","kind","linkKind","path","projectId","url"]},"Output_resolve_trace_kind":{"enum":["trace","session","dataset","scorer","eval","dashboard","report","view"]},"Output_ResolvedReportEvidence":{"type":"object","properties":{"baselineValue":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"binding":{"$ref":"#/components/schemas/Output_get_report_snapshot_evidence_values_item_binding"},"formatted":{"type":"string"},"sourceValue":{"type":"number"},"value":{"type":"number"}},"required":["binding","formatted","sourceValue","value"]},"Output_ReviewAnnotation":{"type":"object","properties":{"author":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_author"},"comment":{"type":"string"},"createdAt":{"type":"string"},"id":{"type":"string"},"provenance":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_provenance"},"reference":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_reference"},"updatedAt":{"type":"string"},"updatedBy":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_provenance"}},"required":["author","comment","createdAt","id","reference","updatedAt"]},"Output_ReviewItem":{"type":"object","properties":{"completionKind":{"$ref":"#/components/schemas/Output_get_review_session_items_item_completionKind"},"humanVerified":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"id":{"type":"string"},"label":{"$ref":"#/components/schemas/Output_get_review_session_items_item_label"},"lastSubmission":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission"},"notes":{"type":"string"},"notesProvenance":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission"},"ordinal":{"type":"number"},"reviewedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"reviewedBy":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"revision":{"type":"number"},"sessionId":{"type":"string"},"skippedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"traceId":{"type":"string"},"traceName":{"type":"string"}},"required":["id","notes","ordinal","reviewedAt","reviewedBy","revision","sessionId","skippedAt","traceId","traceName"]},"Output_ReviewItemDetail":{"type":"object","properties":{"annotations":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReviewAnnotation"}},"completionKind":{"$ref":"#/components/schemas/Output_get_review_session_items_item_completionKind"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/Output_HumanScore"}},"humanVerified":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"id":{"type":"string"},"label":{"$ref":"#/components/schemas/Output_get_review_session_items_item_label"},"lastSubmission":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission"},"nextItemId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"notes":{"type":"string"},"notesProvenance":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission"},"ordinal":{"type":"number"},"previousItemId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"reviewedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"reviewedBy":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"revision":{"type":"number"},"scores":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReviewScore"}},"sessionId":{"type":"string"},"skippedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"traceId":{"type":"string"},"traceName":{"type":"string"}},"required":["annotations","definitions","id","nextItemId","notes","ordinal","previousItemId","reviewedAt","reviewedBy","revision","scores","sessionId","skippedAt","traceId","traceName"]},"Output_ReviewMember":{"type":"object","properties":{"email":{"type":"string"},"id":{"type":"string"},"image":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"name":{"type":"string"}},"required":["email","id","image","name"]},"Output_ReviewOptions":{"type":"object","properties":{"currentUserId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"members":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReviewMember"}}},"required":["currentUserId","members"]},"Output_ReviewProvenance":{"type":"object","properties":{"agent":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission_agent"},"authType":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission_authType"},"clientId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"label":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission_label"},"principal":{"$ref":"#/components/schemas/Output_get_review_session_items_item_lastSubmission_principal"}},"required":["authType","label","principal"]},"Output_ReviewReviewer":{"type":"object","properties":{"id":{"type":"string"},"image":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"name":{"type":"string"}},"required":["id","image","name"]},"Output_ReviewScore":{"type":"object","properties":{"comment":{"type":"string"},"definition":{"$ref":"#/components/schemas/Output_HumanScore"},"editedBy":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_provenance"},"humanScoreId":{"type":"string"},"id":{"type":"string"},"itemId":{"type":"string"},"name":{"type":"string"},"provenance":{"$ref":"#/components/schemas/Output_get_review_item_annotations_item_provenance"},"reviewerId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"reviewerImage":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"reviewerName":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"scorerId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"scorerRevision":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"source":{"$ref":"#/components/schemas/Output_get_review_item_scores_item_source"},"traceId":{"type":"string"},"updatedAt":{"type":"string"},"value":{"$ref":"#/components/schemas/Output_get_review_item_scores_item_value"}},"required":["comment","definition","humanScoreId","id","itemId","name","reviewerId","reviewerImage","reviewerName","scorerId","scorerRevision","source","traceId","updatedAt","value"]},"Output_ReviewSession":{"type":"object","properties":{"aiLabelledCount":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"aiReviewedCount":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"assigneeName":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"assigneeUserId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"collection":{"$ref":"#/components/schemas/Output_list_review_sessions_items_item_collection"},"collectionId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"createdAt":{"type":"string"},"createdBy":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"humanReviewedCount":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"id":{"type":"string"},"label":{"$ref":"#/components/schemas/Output_list_review_sessions_items_item_label"},"name":{"type":"string"},"number":{"type":"number"},"prompt":{"type":"string"},"reviewedCount":{"type":"number"},"reviewers":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReviewReviewer"}},"revision":{"type":"number"},"skippedCount":{"type":"number"},"status":{"$ref":"#/components/schemas/Output_list_review_sessions_items_item_status"},"traceCount":{"type":"number"},"updatedAt":{"type":"string"}},"required":["assigneeName","assigneeUserId","collection","collectionId","createdAt","createdBy","id","name","number","prompt","reviewedCount","reviewers","revision","skippedCount","status","traceCount","updatedAt"]},"Output_ReviewSessionDetail":{"type":"object","properties":{"aiLabelledCount":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"aiReviewedCount":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"assigneeName":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"assigneeUserId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"collection":{"$ref":"#/components/schemas/Output_list_review_sessions_items_item_collection"},"collectionId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"createdAt":{"type":"string"},"createdBy":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"humanReviewedCount":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"id":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReviewItem"}},"label":{"$ref":"#/components/schemas/Output_list_review_sessions_items_item_label"},"name":{"type":"string"},"number":{"type":"number"},"prompt":{"type":"string"},"reviewedCount":{"type":"number"},"reviewers":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReviewReviewer"}},"revision":{"type":"number"},"skippedCount":{"type":"number"},"status":{"$ref":"#/components/schemas/Output_list_review_sessions_items_item_status"},"traceCount":{"type":"number"},"updatedAt":{"type":"string"}},"required":["assigneeName","assigneeUserId","collection","collectionId","createdAt","createdBy","id","items","name","number","prompt","reviewedCount","reviewers","revision","skippedCount","status","traceCount","updatedAt"]},"Output_run_app":{"type":"object","properties":{"completedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"createdAt":{"type":"string"},"datasetId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evaluatorIds":{"type":"array","items":{"type":"string"}},"evaluatorVersionIds":{"$ref":"#/components/schemas/Output_run_app_evaluatorVersionIds"},"execution":{"$ref":"#/components/schemas/Output_run_app_execution"},"groups":{"$ref":"#/components/schemas/Output_run_app_groups"},"groupsResolvedAt":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"id":{"type":"string"},"metadata":{"$ref":"#/components/schemas/Output_JsonObject"},"name":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"resultCount":{"type":"number"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Output_EvalResult"}},"rows":{"$ref":"#/components/schemas/Output_run_app_rows"},"score":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"scorerProgress":{"$ref":"#/components/schemas/Output_run_app_scorerProgress"},"scores":{"$ref":"#/components/schemas/Output_run_app_scores"},"status":{"$ref":"#/components/schemas/Output_EvalRunStatus"},"targetCount":{"type":"number"},"traceCount":{"type":"number"},"url":{"type":"string"}},"required":["completedAt","createdAt","datasetId","evaluatorIds","id","metadata","name","resultCount","results","score","status","targetCount","traceCount","url"]},"Output_run_app_completedAt":{"anyOf":[{"type":"null"},{"type":"string"}]},"Output_run_app_evaluatorVersionIds":{"$ref":"#/components/schemas/Output_Record_2"},"Output_run_app_execution":{"$ref":"#/components/schemas/Output_run_app_execution_2"},"Output_run_app_execution_2":{"type":"object","properties":{"lastProgressAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"stages":{"$ref":"#/components/schemas/Output_Record_3"},"stalled":{"type":"boolean"},"workerOnline":{"type":"boolean"}},"required":["lastProgressAt","stages","stalled","workerOnline"]},"Output_run_app_groups":{"type":"array","items":{"$ref":"#/components/schemas/Output_run_app_groups_item"}},"Output_run_app_groups_item":{"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/Output_run_app_groups_item_type"},"version":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"}},"required":["name","type"]},"Output_run_app_groups_item_type":{"enum":["agent","workflow"]},"Output_run_app_groups_item_version":{"anyOf":[{"type":"null"},{"type":"string"}]},"Output_run_app_metadata_value":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"boolean","const":false},{"type":"boolean","const":true},{"$ref":"#/components/schemas/Output_JsonObject"},{"type":"array","items":{"$ref":"#/components/schemas/Output_JsonValue"}}]},"Output_run_app_results_item_definition":{"$ref":"#/components/schemas/Output_EvaluatorVersion"},"Output_run_app_results_item_definition_config":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_2"},"Output_run_app_results_item_definition_config_2":{"type":"object","properties":{"allowSkip":{"type":"boolean"},"chainOfThought":{"type":"boolean"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_choices_item"}},"code":{"type":"string"},"description":{"type":"string"},"imagePaths":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_imagePaths"},"library":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_messages_item"}},"model":{"type":"string"},"modelType":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_modelType"},"name":{"type":"string"},"provider":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_provider"},"slug":{"type":"string"},"threshold":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"type":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_type"}},"required":["allowSkip","chainOfThought","choices","code","description","messages","model","name","slug","threshold","type"]},"Output_run_app_results_item_definition_config_choices_item":{"type":"object","properties":{"label":{"type":"string"},"score":{"type":"number"}},"required":["label","score"]},"Output_run_app_results_item_definition_config_imagePaths":{"type":"array","items":{"type":"string"}},"Output_run_app_results_item_definition_config_library":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library_2"},"Output_run_app_results_item_definition_config_library_2":{"type":"object","properties":{"adapterVersion":{"type":"number","const":1},"evaluator":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library_evaluator"},"mappings":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library_mappings"},"options":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library_options"},"package":{"type":"string","const":"autoevals"},"version":{"type":"string","const":"0.3.0"}},"required":["adapterVersion","evaluator","mappings","options","package","version"]},"Output_run_app_results_item_definition_config_library_evaluator":{"enum":["ExactMatch","Levenshtein","NumericDiff","ValidJSON","JSONDiff","Factuality"]},"Output_run_app_results_item_definition_config_library_mappings":{"type":"object","properties":{"expected":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"input":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"output":{"type":"string"}},"required":["output"]},"Output_run_app_results_item_definition_config_library_options":{"type":"object","properties":{"schema":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library_options_schema"}}},"Output_run_app_results_item_definition_config_library_options_schema":{"$ref":"#/components/schemas/Output_Record_4"},"Output_run_app_results_item_definition_config_library_options_schema_value":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Output_JSONType"}},"Output_run_app_results_item_definition_config_messages_item":{"type":"object","properties":{"content":{"type":"string"},"role":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_messages_item_role"}},"required":["content","role"]},"Output_run_app_results_item_definition_config_messages_item_role":{"enum":["system","user"]},"Output_run_app_results_item_definition_config_modelType":{"enum":["language","evaluation"]},"Output_run_app_results_item_definition_config_provider":{"enum":["datool","vercel-ai-gateway","openai","typesafe-ai"]},"Output_run_app_results_item_definition_config_threshold":{"anyOf":[{"type":"null"},{"type":"number"}]},"Output_run_app_results_item_definition_config_type":{"enum":["llm","javascript","python","library"]},"Output_run_app_results_item_passed":{"anyOf":[{"type":"null"},{"type":"boolean","const":false},{"type":"boolean","const":true}]},"Output_run_app_rows":{"type":"array","items":{"$ref":"#/components/schemas/Output_run_app_rows_item"}},"Output_run_app_rows_item":{"type":"object","properties":{"datasetCaseId":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"datasetItemId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"executionError":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"expectedOutput":{"$ref":"#/components/schemas/Output_JsonValue"},"id":{"type":"string"},"results":{"type":"array","items":{"$ref":"#/components/schemas/Output_EvalResult"}},"scorerStatuses":{"$ref":"#/components/schemas/Output_run_app_rows_item_scorerStatuses"},"scoringTrace":{"$ref":"#/components/schemas/Output_run_app_rows_item_scoringTrace"},"sourceSpanId":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"stage":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"trace":{"$ref":"#/components/schemas/Output_TraceSummary"}},"required":["datasetItemId","expectedOutput","id","results","trace"]},"Output_run_app_rows_item_scorerStatuses":{"$ref":"#/components/schemas/Output_Record_5"},"Output_run_app_rows_item_scoringTrace":{"$ref":"#/components/schemas/Output_TraceForEvaluation"},"Output_run_app_rows_item_scoringTrace_group":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Output_run_app_groups_item"}]},"Output_run_app_rows_item_scoringTrace_linkedTraces":{"type":"array","items":{"$ref":"#/components/schemas/Output_TraceForEvaluation"}},"Output_run_app_rows_item_scoringTrace_provenance":{"$ref":"#/components/schemas/Output_run_app_rows_item_scoringTrace_provenance_2"},"Output_run_app_rows_item_scoringTrace_provenance_2":{"type":"object","properties":{"ancestors":{"type":"array","items":{"$ref":"#/components/schemas/Output_Pick"}},"trace":{"$ref":"#/components/schemas/Output_Pick_2"}},"required":["ancestors","trace"]},"Output_run_app_rows_item_trace_spanStats":{"$ref":"#/components/schemas/Output_TraceSpanStats"},"Output_run_app_scorerProgress":{"type":"array","items":{"$ref":"#/components/schemas/Output_EvalScorerProgress"}},"Output_run_app_scores":{"type":"array","items":{"$ref":"#/components/schemas/Output_run_app_scores_item"}},"Output_run_app_scores_item":{"type":"object","properties":{"name":{"type":"string"},"value":{"$ref":"#/components/schemas/Output_run_app_scores_item_value"}},"required":["name","value"]},"Output_run_app_scores_item_value":{"anyOf":[{"type":"null"},{"type":"number"},{"type":"boolean","const":false},{"type":"boolean","const":true}]},"Output_RunConfigurationChange":{"type":"object","properties":{"after":{"$ref":"#/components/schemas/Output_JsonValue"},"before":{"$ref":"#/components/schemas/Output_JsonValue"},"field":{"type":"string"},"kind":{"$ref":"#/components/schemas/Output_compare_eval_runs_configurationChanges_item_kind"}},"required":["after","before","field","kind"]},"Output_save_view_preference":{"type":"object","properties":{"revision":{"type":"number"},"scope":{"type":"string"},"value":{"$ref":"#/components/schemas/Output_Record_4"}},"required":["revision","scope","value"]},"Output_SavedView":{"type":"object","properties":{"columns":{"type":"array","items":{"$ref":"#/components/schemas/Output_SavedViewColumn"}},"createdAt":{"type":"string"},"filters":{"type":"array","items":{"$ref":"#/components/schemas/Output_SavedViewFilter"}},"id":{"type":"string"},"name":{"type":"string"},"resource":{"$ref":"#/components/schemas/Output_ViewResource"},"sort":{"$ref":"#/components/schemas/Output_list_saved_views_items_item_sort"},"updatedAt":{"type":"string"}},"required":["columns","createdAt","filters","id","name","resource","sort","updatedAt"]},"Output_SavedViewColumn":{"type":"object","properties":{"format":{"$ref":"#/components/schemas/Output_ViewColumnFormat"},"id":{"type":"string"},"label":{"type":"string"},"selector":{"type":"string"}},"required":["format","id","label","selector"]},"Output_SavedViewData":{"type":"object","properties":{"columns":{"type":"array","items":{"$ref":"#/components/schemas/Output_SavedViewColumn"}},"limit":{"type":"number"},"nextOffset":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"offset":{"type":"number"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Output_SavedViewRow"}},"total":{"type":"number"},"view":{"$ref":"#/components/schemas/Output_SavedView"}},"required":["columns","limit","nextOffset","offset","rows","total","view"]},"Output_SavedViewFilter":{"type":"object","properties":{"operator":{"$ref":"#/components/schemas/Output_list_views_item_settings_query_filters_item_operator"},"selector":{"type":"string"},"value":{"$ref":"#/components/schemas/Output_run_app_metadata_value"}},"required":["operator","selector"]},"Output_SavedViewRow":{"type":"object","properties":{"id":{"type":"string"},"values":{"$ref":"#/components/schemas/Output_Record_12"}},"required":["id","values"]},"Output_SavedViewSort":{"type":"object","properties":{"direction":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_defaultOrder_item_1"},"selector":{"type":"string"}},"required":["direction","selector"]},"Output_Scorer":{"type":"object","properties":{"allowSkip":{"type":"boolean"},"chainOfThought":{"type":"boolean"},"choices":{"type":"array","items":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_choices_item"}},"code":{"type":"string"},"createdAt":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"imagePaths":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_imagePaths"},"library":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_library"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_messages_item"}},"model":{"type":"string"},"modelType":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_modelType"},"name":{"type":"string"},"provider":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_provider"},"revision":{"type":"number"},"slug":{"type":"string"},"threshold":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"type":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_type"},"updatedAt":{"type":"string"}},"required":["allowSkip","chainOfThought","choices","code","createdAt","description","id","messages","model","name","revision","slug","threshold","type","updatedAt"]},"Output_ScorerExecutionStatus":{"enum":["error","completed","running","queued","skipped"]},"Output_SemanticDimensionDefinition":{"type":"object","properties":{"attribution":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"basis":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"cardinality":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_members_item_cardinality"},"currency":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"definition":{"type":"string"},"denominator":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"description":{"type":"string"},"eligiblePopulation":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"estimated":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"eventTime":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"factIdentity":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"filterOperators":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_members_item_filterOperators_item"}},"filterValueType":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_members_item_filterValueType"},"format":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"groupable":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"kind":{"type":"string","const":"dimension"},"limitations":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_defaultMeasures"},"metricVersion":{"type":"string"},"missingBehavior":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"multiplicity":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_members_item_multiplicity"},"name":{"type":"string"},"overlap":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"requiresDefinition":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"source":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"title":{"type":"string"},"type":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_members_item_type"},"unavailableReason":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"unit":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["definition","description","filterOperators","kind","metricVersion","name","title","type"]},"Output_SemanticFilter":{"anyOf":[{"$ref":"#/components/schemas/Output_query_metrics_query_filters_item"},{"$ref":"#/components/schemas/Output_query_metrics_query_filters_item_2"},{"$ref":"#/components/schemas/Output_query_metrics_query_filters_item_3"}]},"Output_SemanticMeasureDefinition":{"type":"object","properties":{"aggregation":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_members_item_aggregation"},"attribution":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"basis":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"currency":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"definition":{"type":"string"},"denominator":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"description":{"type":"string"},"eligiblePopulation":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"estimated":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"eventTime":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"factIdentity":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"format":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"kind":{"type":"string","const":"measure"},"limitations":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_defaultMeasures"},"metricVersion":{"type":"string"},"name":{"type":"string"},"overlap":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"requiresDefinition":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"title":{"type":"string"},"type":{"type":"string","const":"number"},"unit":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["aggregation","definition","description","kind","metricVersion","name","title","type"]},"Output_SemanticMemberDefinition":{"anyOf":[{"$ref":"#/components/schemas/Output_SemanticMeasureDefinition"},{"$ref":"#/components/schemas/Output_SemanticDimensionDefinition"},{"$ref":"#/components/schemas/Output_SemanticTimeDimensionDefinition"},{"$ref":"#/components/schemas/Output_SemanticSegmentDefinition"}]},"Output_SemanticSegmentDefinition":{"type":"object","properties":{"attribution":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"basis":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"currency":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"definition":{"type":"string"},"denominator":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"description":{"type":"string"},"eligiblePopulation":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"estimated":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"eventTime":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"factIdentity":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"format":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"kind":{"type":"string","const":"segment"},"limitations":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_defaultMeasures"},"metricVersion":{"type":"string"},"name":{"type":"string"},"overlap":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"requiresDefinition":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"title":{"type":"string"},"type":{"type":"string","const":"boolean"},"unit":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["definition","description","kind","metricVersion","name","title","type"]},"Output_SemanticTimeDimensionDefinition":{"type":"object","properties":{"attribution":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"basis":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"currency":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"definition":{"type":"string"},"denominator":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"description":{"type":"string"},"eligiblePopulation":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"estimated":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"eventTime":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"factIdentity":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"format":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"granularities":{"type":"array","items":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_members_item_granularities_item"}},"kind":{"type":"string","const":"timeDimension"},"limitations":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_defaultMeasures"},"metricVersion":{"type":"string"},"name":{"type":"string"},"overlap":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"requiresDefinition":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_dirty"},"title":{"type":"string"},"type":{"type":"string","const":"date"},"unit":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["definition","description","granularities","kind","metricVersion","name","title","type"]},"Output_Session":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/Output_JsonObject"},"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"traceCount":{"type":"number"},"updatedAt":{"type":"string"}},"required":["attributes","createdAt","id","name","traceCount","updatedAt"]},"Output_SessionDetail":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/Output_JsonObject"},"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"nextCursor":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"traceCount":{"type":"number"},"traces":{"type":"array","items":{"$ref":"#/components/schemas/Output_TraceSummary"}},"updatedAt":{"type":"string"}},"required":["attributes","createdAt","id","name","traceCount","traces","updatedAt"]},"Output_Snapshot":{"type":"object","properties":{"contentHash":{"type":"string"},"createdAt":{"type":"string"},"datasetId":{"type":"string"},"id":{"type":"string"},"itemCount":{"type":"number"},"label":{"$ref":"#/components/schemas/Output_run_app_completedAt"}},"required":["contentHash","createdAt","datasetId","id","itemCount","label"]},"Output_Span":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/Output_JsonObject"},"durationMs":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"endedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"group":{"$ref":"#/components/schemas/Output_run_app_rows_item_scoringTrace_group"},"id":{"type":"string"},"input":{"$ref":"#/components/schemas/Output_JsonValue"},"kind":{"$ref":"#/components/schemas/Output_SpanKind"},"name":{"type":"string"},"output":{"$ref":"#/components/schemas/Output_JsonValue"},"parentId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"startedAt":{"type":"string"},"status":{"$ref":"#/components/schemas/Output_TraceStatus"},"traceId":{"type":"string"}},"required":["attributes","durationMs","endedAt","id","input","kind","name","output","parentId","startedAt","status","traceId"]},"Output_SpanKind":{"enum":["function","agent","custom","llm","score","workflow","task","tool"]},"Output_SpanPromotionResult":{"type":"object","properties":{"cases":{"type":"array","items":{"$ref":"#/components/schemas/Output_promote_spans_cases_item"}},"created":{"type":"array","items":{"type":"string"}},"datasetId":{"type":"string"},"evidenceHash":{"type":"string"},"preview":{"type":"boolean"}},"required":["cases","created","datasetId","evidenceHash","preview"]},"Output_test_scorer":{"type":"object","properties":{"evaluationRunCreated":{"type":"boolean"},"executionSpanRetained":{"type":"boolean"},"mode":{"type":"string"},"persisted":{"type":"boolean"},"result":{"$ref":"#/components/schemas/Output_EvaluatorRunResult"},"scorerId":{"type":"string"},"traceId":{"type":"string"},"versionId":{"type":"string"}},"required":["evaluationRunCreated","executionSpanRetained","mode","persisted","result","scorerId","traceId","versionId"]},"Output_test_scorer_result_error":{"$ref":"#/components/schemas/Output_test_scorer_result_error_2"},"Output_test_scorer_result_error_2":{"type":"object","properties":{"kind":{"$ref":"#/components/schemas/Output_EvaluatorRunErrorKind"},"message":{"type":"string"}},"required":["kind","message"]},"Output_TraceDetail":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/Output_JsonObject"},"durationMs":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"endedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"group":{"$ref":"#/components/schemas/Output_run_app_rows_item_scoringTrace_group"},"id":{"type":"string"},"input":{"$ref":"#/components/schemas/Output_JsonValue"},"name":{"type":"string"},"nextScoreCursor":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"nextSpanCursor":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"operation":{"type":"string"},"output":{"$ref":"#/components/schemas/Output_JsonValue"},"scores":{"type":"array","items":{"$ref":"#/components/schemas/Output_TraceScore"}},"sessionId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"spans":{"type":"array","items":{"$ref":"#/components/schemas/Output_Span"}},"spanStats":{"$ref":"#/components/schemas/Output_run_app_rows_item_trace_spanStats"},"startedAt":{"type":"string"},"status":{"$ref":"#/components/schemas/Output_TraceStatus"}},"required":["attributes","durationMs","endedAt","id","input","name","operation","output","scores","sessionId","spans","startedAt","status"]},"Output_TraceForEvaluation":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/Output_JsonObject"},"endedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"group":{"$ref":"#/components/schemas/Output_run_app_rows_item_scoringTrace_group"},"id":{"type":"string"},"input":{"$ref":"#/components/schemas/Output_JsonValue"},"linkedTraces":{"$ref":"#/components/schemas/Output_run_app_rows_item_scoringTrace_linkedTraces"},"name":{"type":"string"},"operation":{"type":"string"},"output":{"$ref":"#/components/schemas/Output_JsonValue"},"provenance":{"$ref":"#/components/schemas/Output_run_app_rows_item_scoringTrace_provenance"},"selectedSpanId":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"},"sessionId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"spans":{"type":"array","items":{"$ref":"#/components/schemas/Output_Span"}},"startedAt":{"type":"string"},"status":{"$ref":"#/components/schemas/Output_TraceStatus"}},"required":["attributes","endedAt","id","input","name","operation","output","sessionId","spans","startedAt","status"]},"Output_TraceScore":{"type":"object","properties":{"definition":{"$ref":"#/components/schemas/Output_run_app_results_item_definition"},"error":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"evalResultId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evalRunId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evaluatorId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evaluatorName":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"evaluatorVersion":{"$ref":"#/components/schemas/Output_get_metrics_metadata_models_item_maxLimit"},"external":{"$ref":"#/components/schemas/Output_get_trace_scores_item_external"},"metadata":{"$ref":"#/components/schemas/Output_list_datasets_items_item_metadata"},"name":{"type":"string"},"passed":{"$ref":"#/components/schemas/Output_get_trace_scores_item_passed"},"reasoning":{"$ref":"#/components/schemas/Output_run_app_groups_item_version"},"score":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"status":{"$ref":"#/components/schemas/Output_MetricStatus"},"valueLabel":{"$ref":"#/components/schemas/Output_list_apps_item_codeProvenance_fingerprint"}},"required":["evalResultId","evalRunId","evaluatorId","evaluatorName","name","score","status"]},"Output_TraceSpanStats":{"type":"object","properties":{"errorCount":{"type":"number"},"llmCalls":{"type":"number"},"llmDurationMs":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"spanCount":{"type":"number"},"toolCalls":{"type":"number"}},"required":["errorCount","llmCalls","llmDurationMs","spanCount","toolCalls"]},"Output_TraceStatus":{"enum":["cancelled","completed","running","errored"]},"Output_TraceSummary":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/Output_JsonObject"},"durationMs":{"$ref":"#/components/schemas/Output_run_app_results_item_definition_config_threshold"},"endedAt":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"group":{"$ref":"#/components/schemas/Output_run_app_rows_item_scoringTrace_group"},"id":{"type":"string"},"input":{"$ref":"#/components/schemas/Output_JsonValue"},"name":{"type":"string"},"operation":{"type":"string"},"output":{"$ref":"#/components/schemas/Output_JsonValue"},"sessionId":{"$ref":"#/components/schemas/Output_run_app_completedAt"},"spanStats":{"$ref":"#/components/schemas/Output_run_app_rows_item_trace_spanStats"},"startedAt":{"type":"string"},"status":{"$ref":"#/components/schemas/Output_TraceStatus"}},"required":["attributes","durationMs","endedAt","id","input","name","operation","output","sessionId","startedAt","status"]},"Output_validate_page_view":{"type":"object","properties":{"evaluated":{"type":"boolean"},"rendered":{"type":"boolean"},"valid":{"type":"boolean"}},"required":["evaluated","rendered","valid"]},"Output_validate_report":{"anyOf":[{"$ref":"#/components/schemas/Output_validate_report_2"},{"$ref":"#/components/schemas/Output_validate_report_3"}]},"Output_validate_report_2":{"type":"object","properties":{"checks":{"$ref":"#/components/schemas/Output_validate_report_checks"},"diagnostics":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReportDiagnostic"}},"queryCount":{"type":"number"},"render":{"$ref":"#/components/schemas/Output_ReportRenderCheck"},"sourceCount":{"type":"number"},"valid":{"type":"boolean"}},"required":["checks","diagnostics","queryCount","render","sourceCount","valid"]},"Output_validate_report_3":{"type":"object","properties":{"diagnostics":{"type":"array","items":{"$ref":"#/components/schemas/Output_ReportDiagnostic"}},"valid":{"type":"boolean"}},"required":["diagnostics","valid"]},"Output_validate_report_checks":{"type":"object","properties":{"data":{"type":"string"},"render":{"$ref":"#/components/schemas/Output_validate_report_checks_render"},"responsive":{"type":"string"},"structural":{"type":"string"},"visual":{"type":"string"}},"required":["data","render","responsive","structural","visual"]},"Output_validate_report_checks_render":{"enum":["failed","passed"]},"Output_validate_report_diagnostics_item_severity":{"enum":["error","warning"]},"Output_ViewColumnFormat":{"enum":["number","boolean","json","text"]},"Output_ViewResource":{"enum":["traces","eval-results"]},"ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","hint"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"hint":{"type":"string","description":"Suggested resolution; mutations must not be retried blindly."},"details":{"type":"object","additionalProperties":true}}}}},"list_page_views_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"type":"string","minLength":1,"maxLength":200},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"search":{"type":"string","maxLength":200},"resource":{"type":"string"}},"additionalProperties":false},"get_page_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},"create_page_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"definition":{"type":"object","properties":{"resource":{"type":"string","enum":["traces","sessions","session-traces","eval-runs","evaluations","eval-results","eval-comparison","datasets","dataset-items","dataset-item-runs","playground-apps","playground-traces","agents","workflows","reviews","review-session","prompts","scorers","human-scores","score-collections","dashboards","reports","dashboard-table","alerts","notifications"]},"name":{"type":"string","minLength":1,"maxLength":120},"settings":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1},"computedColumns":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":120},"code":{"type":"string","maxLength":20000},"mode":{"type":"string","enum":["expression","template"]},"format":{"type":"string","enum":["text","markdown"]}},"required":["id","name","code","mode"],"additionalProperties":false}},"columnOrder":{"maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"columnVisibility":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"boolean"}},"columnSizing":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"number","minimum":44,"maximum":1200}},"view":{"type":"string","enum":["table","cards"]},"rowHeight":{"type":"string","enum":["compact","tall"]},"detailsOpen":{"type":"boolean"},"fieldViews":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"string","enum":["image","llm","llm-raw","json","yaml","text","pretty","tree"]}},"customFields":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false}},"queryParams":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":4000}}},"pageSettings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"$ref":"#/components/schemas/create_page_view_input/$defs/__schema0"}},"objectViews":{"type":"object","propertyNames":{"type":"string","enum":["trace","dataset-item"]},"additionalProperties":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},{"type":"null"}]}},"query":{"type":"object","properties":{"resource":{"type":"string","enum":["traces","eval-results"]},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"label":{"type":"string"},"selector":{"type":"string"},"format":{"type":"string","enum":["boolean","json","number","text"]}},"required":["id","label","selector","format"],"additionalProperties":false}},"filters":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"selector":{"type":"string"},"operator":{"type":"string","enum":["equals","exists","notEquals"]},"value":{"$ref":"#/components/schemas/create_page_view_input/$defs/__schema1"}},"required":["selector","operator"],"additionalProperties":false}},"sort":{"anyOf":[{"type":"object","properties":{"selector":{"type":"string"},"direction":{"type":"string","enum":["asc","desc"]}},"required":["selector","direction"],"additionalProperties":false},{"type":"null"}]}},"required":["resource","columns","filters","sort"],"additionalProperties":false}},"required":["schemaVersion","computedColumns","columnOrder","columnVisibility","columnSizing","view","detailsOpen"],"additionalProperties":false}},"required":["resource","name","settings"],"additionalProperties":false}},"required":["definition"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/create_page_view_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/create_page_view_input/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/create_page_view_input/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/create_page_view_input/$defs/__schema1"}}]}}},"update_page_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"definition":{"type":"object","properties":{"resource":{"type":"string","enum":["traces","sessions","session-traces","eval-runs","evaluations","eval-results","eval-comparison","datasets","dataset-items","dataset-item-runs","playground-apps","playground-traces","agents","workflows","reviews","review-session","prompts","scorers","human-scores","score-collections","dashboards","reports","dashboard-table","alerts","notifications"]},"name":{"type":"string","minLength":1,"maxLength":120},"settings":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1},"computedColumns":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":120},"code":{"type":"string","maxLength":20000},"mode":{"type":"string","enum":["expression","template"]},"format":{"type":"string","enum":["text","markdown"]}},"required":["id","name","code","mode"],"additionalProperties":false}},"columnOrder":{"maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"columnVisibility":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"boolean"}},"columnSizing":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"number","minimum":44,"maximum":1200}},"view":{"type":"string","enum":["table","cards"]},"rowHeight":{"type":"string","enum":["compact","tall"]},"detailsOpen":{"type":"boolean"},"fieldViews":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"string","enum":["image","llm","llm-raw","json","yaml","text","pretty","tree"]}},"customFields":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false}},"queryParams":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":4000}}},"pageSettings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"$ref":"#/components/schemas/update_page_view_input/$defs/__schema0"}},"objectViews":{"type":"object","propertyNames":{"type":"string","enum":["trace","dataset-item"]},"additionalProperties":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},{"type":"null"}]}},"query":{"type":"object","properties":{"resource":{"type":"string","enum":["traces","eval-results"]},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"label":{"type":"string"},"selector":{"type":"string"},"format":{"type":"string","enum":["boolean","json","number","text"]}},"required":["id","label","selector","format"],"additionalProperties":false}},"filters":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"selector":{"type":"string"},"operator":{"type":"string","enum":["equals","exists","notEquals"]},"value":{"$ref":"#/components/schemas/update_page_view_input/$defs/__schema1"}},"required":["selector","operator"],"additionalProperties":false}},"sort":{"anyOf":[{"type":"object","properties":{"selector":{"type":"string"},"direction":{"type":"string","enum":["asc","desc"]}},"required":["selector","direction"],"additionalProperties":false},{"type":"null"}]}},"required":["resource","columns","filters","sort"],"additionalProperties":false}},"required":["schemaVersion","computedColumns","columnOrder","columnVisibility","columnSizing","view","detailsOpen"],"additionalProperties":false},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["resource","name","settings","expectedRevision"],"additionalProperties":false}},"required":["id","definition"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/update_page_view_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_page_view_input/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/update_page_view_input/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_page_view_input/$defs/__schema1"}}]}}},"copy_page_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":120}},"required":["id","name"],"additionalProperties":false},"delete_page_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expectedRevision"],"additionalProperties":false},"get_page_view_history_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"before":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},"restore_page_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","revision","expectedRevision"],"additionalProperties":false},"get_page_view_dependencies_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200}},"required":["id"],"additionalProperties":false},"validate_page_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"definition":{"type":"object","properties":{"resource":{"type":"string","enum":["traces","sessions","session-traces","eval-runs","evaluations","eval-results","eval-comparison","datasets","dataset-items","dataset-item-runs","playground-apps","playground-traces","agents","workflows","reviews","review-session","prompts","scorers","human-scores","score-collections","dashboards","reports","dashboard-table","alerts","notifications"]},"name":{"type":"string","minLength":1,"maxLength":120},"settings":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1},"computedColumns":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":120},"code":{"type":"string","maxLength":20000},"mode":{"type":"string","enum":["expression","template"]},"format":{"type":"string","enum":["text","markdown"]}},"required":["id","name","code","mode"],"additionalProperties":false}},"columnOrder":{"maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"columnVisibility":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"boolean"}},"columnSizing":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"number","minimum":44,"maximum":1200}},"view":{"type":"string","enum":["table","cards"]},"rowHeight":{"type":"string","enum":["compact","tall"]},"detailsOpen":{"type":"boolean"},"fieldViews":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"string","enum":["image","llm","llm-raw","json","yaml","text","pretty","tree"]}},"customFields":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false}},"queryParams":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":4000}}},"pageSettings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"$ref":"#/components/schemas/validate_page_view_input/$defs/__schema0"}},"objectViews":{"type":"object","propertyNames":{"type":"string","enum":["trace","dataset-item"]},"additionalProperties":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},{"type":"null"}]}},"query":{"type":"object","properties":{"resource":{"type":"string","enum":["traces","eval-results"]},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"label":{"type":"string"},"selector":{"type":"string"},"format":{"type":"string","enum":["boolean","json","number","text"]}},"required":["id","label","selector","format"],"additionalProperties":false}},"filters":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"selector":{"type":"string"},"operator":{"type":"string","enum":["equals","exists","notEquals"]},"value":{"$ref":"#/components/schemas/validate_page_view_input/$defs/__schema1"}},"required":["selector","operator"],"additionalProperties":false}},"sort":{"anyOf":[{"type":"object","properties":{"selector":{"type":"string"},"direction":{"type":"string","enum":["asc","desc"]}},"required":["selector","direction"],"additionalProperties":false},{"type":"null"}]}},"required":["resource","columns","filters","sort"],"additionalProperties":false}},"required":["schemaVersion","computedColumns","columnOrder","columnVisibility","columnSizing","view","detailsOpen"],"additionalProperties":false}},"required":["resource","name","settings"],"additionalProperties":false}},"required":["definition"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/validate_page_view_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/validate_page_view_input/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/validate_page_view_input/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/validate_page_view_input/$defs/__schema1"}}]}}},"list_custom_fields_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"type":"string","minLength":1,"maxLength":200},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"search":{"type":"string","maxLength":200},"resource":{"type":"string"}},"additionalProperties":false},"get_custom_field_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},"create_custom_field_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"definition":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":2000},"code":{"type":"string","maxLength":20000},"mode":{"type":"string","enum":["expression","template"]},"format":{"default":"text","type":"string","enum":["image","llm","llm-raw","json","yaml","text","pretty","tree","markdown"]},"objectTypes":{"default":["trace","dataset-item","agent","workflow"],"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","enum":["trace","dataset-item","session","eval-run","eval-result","dataset","app","agent","workflow","review-session","review-item","prompt","scorer","human-score","score-collection","dashboard","alert","notification","table-row"]}},"resultType":{"default":"any","type":"string","enum":["any","string","number","boolean","object","array"]}},"required":["name","code","mode"],"additionalProperties":false}},"required":["definition"],"additionalProperties":false},"update_custom_field_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"definition":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":2000},"code":{"type":"string","maxLength":20000},"mode":{"type":"string","enum":["expression","template"]},"format":{"default":"text","type":"string","enum":["image","llm","llm-raw","json","yaml","text","pretty","tree","markdown"]},"objectTypes":{"default":["trace","dataset-item","agent","workflow"],"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","enum":["trace","dataset-item","session","eval-run","eval-result","dataset","app","agent","workflow","review-session","review-item","prompt","scorer","human-score","score-collection","dashboard","alert","notification","table-row"]}},"resultType":{"default":"any","type":"string","enum":["any","string","number","boolean","object","array"]},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["name","code","mode","expectedRevision"],"additionalProperties":false}},"required":["id","definition"],"additionalProperties":false},"copy_custom_field_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":120}},"required":["id","name"],"additionalProperties":false},"delete_custom_field_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expectedRevision"],"additionalProperties":false},"get_custom_field_history_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"before":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},"restore_custom_field_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","revision","expectedRevision"],"additionalProperties":false},"get_custom_field_dependencies_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200}},"required":["id"],"additionalProperties":false},"validate_custom_field_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"definition":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":2000},"code":{"type":"string","maxLength":20000},"mode":{"type":"string","enum":["expression","template"]},"format":{"default":"text","type":"string","enum":["image","llm","llm-raw","json","yaml","text","pretty","tree","markdown"]},"objectTypes":{"default":["trace","dataset-item","agent","workflow"],"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","enum":["trace","dataset-item","session","eval-run","eval-result","dataset","app","agent","workflow","review-session","review-item","prompt","scorer","human-score","score-collection","dashboard","alert","notification","table-row"]}},"resultType":{"default":"any","type":"string","enum":["any","string","number","boolean","object","array"]}},"required":["name","code","mode"],"additionalProperties":false}},"required":["definition"],"additionalProperties":false},"list_object_views_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cursor":{"type":"string","minLength":1,"maxLength":200},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"search":{"type":"string","maxLength":200},"resource":{"type":"string"}},"additionalProperties":false},"get_object_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},"create_object_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"definition":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","maxLength":2000},"dataMode":{"default":"full","type":"string","enum":["full","summary"]},"code":{"type":"string","minLength":1,"maxLength":100000},"requirements":{"anyOf":[{"maxItems":100,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":500,"pattern":"^\\/(?:[^~]|~[01])*$"},"type":{"type":"string","enum":["any","string","number","boolean","object","array","null"]},"required":{"type":"boolean"},"nonEmpty":{"type":"boolean"}},"required":["path","type","required","nonEmpty"],"additionalProperties":false}},{"type":"null"}]},"objectTypes":{"default":["trace","dataset-item"],"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["trace","dataset-item"]}},"inputContract":{"default":"object","type":"string","enum":["legacy-trace","object"]},"customFields":{"default":[],"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false}},"source":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trace"},"id":{"type":"string","minLength":1,"maxLength":200}},"required":["kind","id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"dataset-item"},"id":{"type":"string","minLength":1,"maxLength":200}},"required":["kind","id"],"additionalProperties":false}]},{"type":"null"}]}},"required":["name","description","code","requirements","source"],"additionalProperties":false}},"required":["definition"],"additionalProperties":false},"update_object_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"definition":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","maxLength":2000},"dataMode":{"default":"full","type":"string","enum":["full","summary"]},"code":{"type":"string","minLength":1,"maxLength":100000},"requirements":{"anyOf":[{"maxItems":100,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":500,"pattern":"^\\/(?:[^~]|~[01])*$"},"type":{"type":"string","enum":["any","string","number","boolean","object","array","null"]},"required":{"type":"boolean"},"nonEmpty":{"type":"boolean"}},"required":["path","type","required","nonEmpty"],"additionalProperties":false}},{"type":"null"}]},"objectTypes":{"default":["trace","dataset-item"],"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["trace","dataset-item"]}},"inputContract":{"default":"legacy-trace","type":"string","enum":["legacy-trace","object"]},"customFields":{"default":[],"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false}},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["name","description","code","requirements","expectedRevision"],"additionalProperties":false}},"required":["id","definition"],"additionalProperties":false},"copy_object_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":120}},"required":["id","name"],"additionalProperties":false},"delete_object_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expectedRevision"],"additionalProperties":false},"get_object_view_history_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"before":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},"restore_object_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","revision","expectedRevision"],"additionalProperties":false},"get_object_view_dependencies_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200}},"required":["id"],"additionalProperties":false},"validate_object_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"definition":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","maxLength":2000},"dataMode":{"default":"full","type":"string","enum":["full","summary"]},"code":{"type":"string","minLength":1,"maxLength":100000},"requirements":{"anyOf":[{"maxItems":100,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":500,"pattern":"^\\/(?:[^~]|~[01])*$"},"type":{"type":"string","enum":["any","string","number","boolean","object","array","null"]},"required":{"type":"boolean"},"nonEmpty":{"type":"boolean"}},"required":["path","type","required","nonEmpty"],"additionalProperties":false}},{"type":"null"}]},"objectTypes":{"default":["trace","dataset-item"],"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["trace","dataset-item"]}},"inputContract":{"default":"object","type":"string","enum":["legacy-trace","object"]},"customFields":{"default":[],"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false}},"source":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"trace"},"id":{"type":"string","minLength":1,"maxLength":200}},"required":["kind","id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"dataset-item"},"id":{"type":"string","minLength":1,"maxLength":200}},"required":["kind","id"],"additionalProperties":false}]},{"type":"null"}]}},"required":["name","description","code","requirements","source"],"additionalProperties":false}},"required":["definition"],"additionalProperties":false},"get_view_capabilities_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"resolve_page_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},"get_page_view_data_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"runId":{"type":"string","minLength":1,"maxLength":200}},"required":["id"],"additionalProperties":false},"evaluate_custom_field_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["trace","dataset-item","session","eval-run","eval-result","dataset","app","agent","workflow","review-session","review-item","prompt","scorer","human-score","score-collection","dashboard","alert","notification","table-row"]},"rows":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/evaluate_custom_field_input/$defs/__schema0"}}}},"required":["id","kind","rows"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/evaluate_custom_field_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/evaluate_custom_field_input/$defs/__schema0"}}]}}},"preview_object_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["trace","dataset-item"]},"object":{"$ref":"#/components/schemas/preview_object_view_input/$defs/__schema0"},"context":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/preview_object_view_input/$defs/__schema1"}}},"required":["id","kind","object"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/preview_object_view_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/preview_object_view_input/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/preview_object_view_input/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/preview_object_view_input/$defs/__schema1"}}]}}},"get_view_preference_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scope":{"type":"string","minLength":1,"maxLength":500}},"required":["scope"],"additionalProperties":false},"save_view_preference_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scope":{"type":"string","minLength":1,"maxLength":500},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"value":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/save_view_preference_input/$defs/__schema0"}}},"required":["scope","expectedRevision","value"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/save_view_preference_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/save_view_preference_input/$defs/__schema0"}}]}}},"list_apps_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"get_app_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"register_app_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"app":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-zA-Z0-9_.-]+$"},"name":{"type":"string","minLength":1,"maxLength":120},"mode":{"default":"input","type":"string","enum":["input","agent"]},"inputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"codeProvenance":{"type":"object","properties":{"source":{"type":"string","enum":["local-git","declared","unknown"]},"revision":{"type":"string","maxLength":200},"dirty":{"type":"boolean"},"fingerprint":{"type":"string","maxLength":200}},"required":["source"],"additionalProperties":false},"internalTracing":{"default":false,"type":"boolean"},"defaultInput":{},"evaluatorIds":{"default":[],"type":"array","items":{"type":"string"}},"connection":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"bridge"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"webhook"},"url":{"type":"string","maxLength":4096,"format":"uri"},"method":{"default":"POST","type":"string","enum":["POST","PUT","PATCH"]},"body":{"default":"input","type":"string","enum":["input","envelope"]},"timeoutMs":{"default":60000,"type":"integer","minimum":1000,"maximum":60000},"headers":{"type":"object","propertyNames":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]+$"},"additionalProperties":{"type":"string","maxLength":4096,"pattern":"^[^\\r\\n]*$"}}},"required":["type","url"],"additionalProperties":false}]},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["id","name","inputSchema","outputSchema"]}},"required":["app"],"additionalProperties":false},"run_app_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"input":{"$ref":"#/components/schemas/run_app_input/$defs/__schema0"},"requestKey":{"type":"string","minLength":1,"maxLength":128},"scorerIds":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}}},"required":["id","input","requestKey"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/run_app_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/run_app_input/$defs/__schema0"}}]}}},"get_metrics_metadata_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"query_metrics_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"object","properties":{"measures":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"dimensions":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"filters":{"default":[],"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/query_metrics_input/$defs/__schema0"}},"having":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false}},"timeDimensions":{"default":[],"maxItems":3,"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"dateRange":{"type":"array","prefixItems":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}],"items":false,"minItems":2,"maxItems":2},"granularity":{"type":"string","enum":["day","week","month"]}},"required":["dimension","dateRange"],"additionalProperties":false}},"segments":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"order":{"default":[],"maxItems":50,"type":"array","items":{"type":"array","prefixItems":[{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},{"type":"string","enum":["asc","desc"]}],"items":false,"minItems":2,"maxItems":2}},"timezone":{"default":"UTC","type":"string","minLength":1},"limit":{"default":1000,"type":"integer","minimum":1,"maximum":5000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":1000000},"total":{"default":false,"type":"boolean"},"classification":{"type":"object","properties":{"actualPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"predictedPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"positiveClass":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"}]}},"required":["actualPath","predictedPath","positiveClass"],"additionalProperties":false},"comparison":{"type":"object","properties":{"baselineRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"candidateRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"evaluatorVersionId":{"type":"string","minLength":1,"maxLength":200},"lowerIsBetter":{"type":"boolean"}},"required":["baselineRunIds","candidateRunIds","evaluatorVersionId"],"additionalProperties":false}},"required":["measures"],"additionalProperties":false}},"required":["query"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false},{"type":"object","properties":{"and":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/query_metrics_input/$defs/__schema0"}}},"required":["and"],"additionalProperties":false},{"type":"object","properties":{"or":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/query_metrics_input/$defs/__schema0"}}},"required":["or"],"additionalProperties":false}]}}},"batch_metrics_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"queries":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"measures":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"dimensions":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"filters":{"default":[],"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/batch_metrics_input/$defs/__schema0"}},"having":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false}},"timeDimensions":{"default":[],"maxItems":3,"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"dateRange":{"type":"array","prefixItems":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}],"items":false,"minItems":2,"maxItems":2},"granularity":{"type":"string","enum":["day","week","month"]}},"required":["dimension","dateRange"],"additionalProperties":false}},"segments":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"order":{"default":[],"maxItems":50,"type":"array","items":{"type":"array","prefixItems":[{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},{"type":"string","enum":["asc","desc"]}],"items":false,"minItems":2,"maxItems":2}},"timezone":{"default":"UTC","type":"string","minLength":1},"limit":{"default":1000,"type":"integer","minimum":1,"maximum":5000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":1000000},"total":{"default":false,"type":"boolean"},"classification":{"type":"object","properties":{"actualPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"predictedPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"positiveClass":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"}]}},"required":["actualPath","predictedPath","positiveClass"],"additionalProperties":false},"comparison":{"type":"object","properties":{"baselineRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"candidateRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"evaluatorVersionId":{"type":"string","minLength":1,"maxLength":200},"lowerIsBetter":{"type":"boolean"}},"required":["baselineRunIds","candidateRunIds","evaluatorVersionId"],"additionalProperties":false}},"required":["measures"],"additionalProperties":false}}},"required":["queries"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false},{"type":"object","properties":{"and":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/batch_metrics_input/$defs/__schema0"}}},"required":["and"],"additionalProperties":false},{"type":"object","properties":{"or":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/batch_metrics_input/$defs/__schema0"}}},"required":["or"],"additionalProperties":false}]}}},"list_human_scores_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"get_human_score_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"create_human_score_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"score":{"oneOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":4000},"type":{"type":"string","const":"numeric"},"min":{"default":0,"type":"number"},"max":{"default":1,"type":"number"},"step":{"default":0.01,"type":"number","exclusiveMinimum":0}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":4000},"type":{"type":"string","const":"categorical"},"multiple":{"default":false,"type":"boolean"},"options":{"minItems":2,"maxItems":50,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":200},"label":{"type":"string","minLength":1,"maxLength":120}},"required":["value","label"],"additionalProperties":false}}},"required":["name","type","options"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":4000},"type":{"type":"string","const":"text"},"maxLength":{"default":4000,"type":"integer","minimum":1,"maximum":16000}},"required":["name","type"],"additionalProperties":false}]}},"required":["score"],"additionalProperties":false},"update_human_score_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"score":{"oneOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":4000},"type":{"type":"string","const":"numeric"},"min":{"default":0,"type":"number"},"max":{"default":1,"type":"number"},"step":{"default":0.01,"type":"number","exclusiveMinimum":0}},"required":["name","type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":4000},"type":{"type":"string","const":"categorical"},"multiple":{"default":false,"type":"boolean"},"options":{"minItems":2,"maxItems":50,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":200},"label":{"type":"string","minLength":1,"maxLength":120}},"required":["value","label"],"additionalProperties":false}}},"required":["name","type","options"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":4000},"type":{"type":"string","const":"text"},"maxLength":{"default":4000,"type":"integer","minimum":1,"maximum":16000}},"required":["name","type"],"additionalProperties":false}]}},"required":["id","expectedRevision","score"],"additionalProperties":false},"get_human_score_collection_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"create_human_score_collection_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":4000},"scoreIds":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["name","scoreIds"],"additionalProperties":false},"update_human_score_collection_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"collection":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"default":"","type":"string","maxLength":4000},"scoreIds":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["name","scoreIds"],"additionalProperties":false}},"required":["id","expectedRevision","collection"],"additionalProperties":false},"list_review_sessions_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"filter":{"type":"string","maxLength":4000}},"additionalProperties":false},"get_review_session_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"get_review_options_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"create_review_session_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"idempotencyKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"default":"Untitled Review","type":"string","maxLength":200},"prompt":{"default":"","type":"string","maxLength":16000},"assigneeUserId":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"reviewerUserIds":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"collectionId":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"traceIds":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["traceIds"],"additionalProperties":false},"update_review_session_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"collectionId":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"name":{"type":"string","maxLength":200},"prompt":{"type":"string","maxLength":16000},"assigneeUserId":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"reviewerUserIds":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["id","expectedRevision"],"additionalProperties":false},"get_review_item_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sessionId":{"type":"string","minLength":1,"maxLength":128},"itemId":{"type":"string","minLength":1,"maxLength":128}},"required":["sessionId","itemId"],"additionalProperties":false},"export_review_items_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"cursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}]},"limit":{"default":20,"type":"integer","minimum":1,"maximum":100}},"required":["id"],"additionalProperties":false},"record_review_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sessionId":{"type":"string","minLength":1,"maxLength":128},"itemId":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"scores":{"maxItems":30,"type":"array","items":{"type":"object","properties":{"humanScoreId":{"type":"string","minLength":1,"maxLength":200},"humanScoreRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"value":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string","maxLength":16000},{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}]},{"type":"null"}]},"comment":{"default":"","type":"string","maxLength":4000}},"required":["humanScoreId","humanScoreRevision","value"],"additionalProperties":false}},"notes":{"type":"string","maxLength":16000},"annotations":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"reference":{"type":"object","properties":{"traceId":{"type":"string","minLength":1,"maxLength":200},"spanId":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"spanName":{"type":"string","maxLength":1000},"field":{"type":"string","enum":["input","output","custom"]},"customField":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":120},"code":{"type":"string","maxLength":20000},"mode":{"type":"string","enum":["expression","template"]},"format":{"type":"string","enum":["text","markdown","json","yaml","image","llm","llm-raw","pretty","tree"]},"value":{"type":"string","maxLength":100000},"sourceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["id","name","code","mode","format","value","sourceHash"],"additionalProperties":false},"view":{"type":"string","enum":["image","llm","llm-raw","json","yaml","text","pretty","tree"]},"outputHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"exact":{"type":"string","minLength":1,"maxLength":8000},"prefix":{"type":"string","maxLength":64},"suffix":{"type":"string","maxLength":64},"start":{"type":"integer","minimum":0,"maximum":10000000},"end":{"type":"integer","exclusiveMinimum":0,"maximum":10000000}},"required":["traceId","spanId","spanName","field","view","outputHash","exact","prefix","suffix","start","end"],"additionalProperties":false},"comment":{"type":"string","minLength":1,"maxLength":4000}},"required":["id","reference","comment"],"additionalProperties":false}},"agent":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"model":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false}},"required":["sessionId","itemId","expectedRevision"],"additionalProperties":false},"list_scorer_libraries_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"use_library_scorer_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"evaluator":{"type":"string","enum":["ExactMatch","Levenshtein","NumericDiff","ValidJSON","JSONDiff","Factuality"]}},"required":["evaluator"],"additionalProperties":false},"list_scorers_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"get_scorer_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"create_scorer_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scorer":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"description":{"default":"","type":"string","maxLength":4000},"type":{"type":"string","enum":["llm","javascript","python","library"]},"library":{"type":"object","properties":{"package":{"type":"string","const":"autoevals"},"version":{"type":"string","const":"0.3.0"},"adapterVersion":{"type":"number","const":1},"evaluator":{"type":"string","enum":["ExactMatch","Levenshtein","NumericDiff","ValidJSON","JSONDiff","Factuality"]},"mappings":{"type":"object","properties":{"input":{"type":"string","maxLength":300},"output":{"type":"string","maxLength":300},"expected":{"type":"string","maxLength":300}},"required":["output"],"additionalProperties":false},"options":{"default":{},"type":"object","properties":{"schema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/create_scorer_input/$defs/__schema0"}}},"additionalProperties":false}},"required":["package","version","adapterVersion","evaluator","mappings"],"additionalProperties":false},"code":{"default":"","type":"string","maxLength":128000},"model":{"default":"","type":"string","maxLength":200},"provider":{"type":"string","enum":["datool","vercel-ai-gateway","openai","typesafe-ai"]},"modelType":{"type":"string","enum":["language","evaluation"]},"chainOfThought":{"default":false,"type":"boolean"},"imagePaths":{"maxItems":4,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"messages":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user"]},"content":{"type":"string","maxLength":32000}},"required":["role","content"]}},"choices":{"default":[],"maxItems":50,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":120},"score":{"type":"number","minimum":0,"maximum":1}},"required":["label","score"]}},"allowSkip":{"default":false,"type":"boolean"},"threshold":{"default":null,"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]}},"required":["name","slug","type"]}},"required":["scorer"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/create_scorer_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/create_scorer_input/$defs/__schema0"}}]}}},"update_scorer_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"scorer":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"description":{"default":"","type":"string","maxLength":4000},"type":{"type":"string","enum":["llm","javascript","python","library"]},"library":{"type":"object","properties":{"package":{"type":"string","const":"autoevals"},"version":{"type":"string","const":"0.3.0"},"adapterVersion":{"type":"number","const":1},"evaluator":{"type":"string","enum":["ExactMatch","Levenshtein","NumericDiff","ValidJSON","JSONDiff","Factuality"]},"mappings":{"type":"object","properties":{"input":{"type":"string","maxLength":300},"output":{"type":"string","maxLength":300},"expected":{"type":"string","maxLength":300}},"required":["output"],"additionalProperties":false},"options":{"default":{},"type":"object","properties":{"schema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_scorer_input/$defs/__schema0"}}},"additionalProperties":false}},"required":["package","version","adapterVersion","evaluator","mappings"],"additionalProperties":false},"code":{"default":"","type":"string","maxLength":128000},"model":{"default":"","type":"string","maxLength":200},"provider":{"type":"string","enum":["datool","vercel-ai-gateway","openai","typesafe-ai"]},"modelType":{"type":"string","enum":["language","evaluation"]},"chainOfThought":{"default":false,"type":"boolean"},"imagePaths":{"maxItems":4,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"messages":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user"]},"content":{"type":"string","maxLength":32000}},"required":["role","content"]}},"choices":{"default":[],"maxItems":50,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":120},"score":{"type":"number","minimum":0,"maximum":1}},"required":["label","score"]}},"allowSkip":{"default":false,"type":"boolean"},"threshold":{"default":null,"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]}},"required":["name","slug","type"]},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","scorer","expectedRevision"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/update_scorer_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_scorer_input/$defs/__schema0"}}]}}},"delete_scorer_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"list_views_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"get_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"create_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resource":{"type":"string","enum":["traces","sessions","session-traces","eval-runs","evaluations","eval-results","eval-comparison","datasets","dataset-items","dataset-item-runs","playground-apps","playground-traces","agents","workflows","reviews","review-session","prompts","scorers","human-scores","score-collections","dashboards","reports","dashboard-table","alerts","notifications"]},"name":{"type":"string","minLength":1,"maxLength":120},"settings":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1},"computedColumns":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":120},"code":{"type":"string","maxLength":20000},"mode":{"type":"string","enum":["expression","template"]},"format":{"type":"string","enum":["text","markdown"]}},"required":["id","name","code","mode"],"additionalProperties":false}},"columnOrder":{"maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"columnVisibility":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"boolean"}},"columnSizing":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"number","minimum":44,"maximum":1200}},"view":{"type":"string","enum":["table","cards"]},"rowHeight":{"type":"string","enum":["compact","tall"]},"detailsOpen":{"type":"boolean"},"fieldViews":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"string","enum":["image","llm","llm-raw","json","yaml","text","pretty","tree"]}},"customFields":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false}},"queryParams":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":4000}}},"pageSettings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"$ref":"#/components/schemas/create_view_input/$defs/__schema0"}},"objectViews":{"type":"object","propertyNames":{"type":"string","enum":["trace","dataset-item"]},"additionalProperties":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},{"type":"null"}]}},"query":{"type":"object","properties":{"resource":{"type":"string","enum":["traces","eval-results"]},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"label":{"type":"string"},"selector":{"type":"string"},"format":{"type":"string","enum":["boolean","json","number","text"]}},"required":["id","label","selector","format"],"additionalProperties":false}},"filters":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"selector":{"type":"string"},"operator":{"type":"string","enum":["equals","exists","notEquals"]},"value":{"$ref":"#/components/schemas/create_view_input/$defs/__schema1"}},"required":["selector","operator"],"additionalProperties":false}},"sort":{"anyOf":[{"type":"object","properties":{"selector":{"type":"string"},"direction":{"type":"string","enum":["asc","desc"]}},"required":["selector","direction"],"additionalProperties":false},{"type":"null"}]}},"required":["resource","columns","filters","sort"],"additionalProperties":false}},"required":["schemaVersion","computedColumns","columnOrder","columnVisibility","columnSizing","view","detailsOpen"],"additionalProperties":false}},"required":["resource","name","settings"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/create_view_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/create_view_input/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/create_view_input/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/create_view_input/$defs/__schema1"}}]}}},"update_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resource":{"type":"string","enum":["traces","sessions","session-traces","eval-runs","evaluations","eval-results","eval-comparison","datasets","dataset-items","dataset-item-runs","playground-apps","playground-traces","agents","workflows","reviews","review-session","prompts","scorers","human-scores","score-collections","dashboards","reports","dashboard-table","alerts","notifications"]},"name":{"type":"string","minLength":1,"maxLength":120},"settings":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1},"computedColumns":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":120},"code":{"type":"string","maxLength":20000},"mode":{"type":"string","enum":["expression","template"]},"format":{"type":"string","enum":["text","markdown"]}},"required":["id","name","code","mode"],"additionalProperties":false}},"columnOrder":{"maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"columnVisibility":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"boolean"}},"columnSizing":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"number","minimum":44,"maximum":1200}},"view":{"type":"string","enum":["table","cards"]},"rowHeight":{"type":"string","enum":["compact","tall"]},"detailsOpen":{"type":"boolean"},"fieldViews":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"type":"string","enum":["image","llm","llm-raw","json","yaml","text","pretty","tree"]}},"customFields":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false}},"queryParams":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":4000}}},"pageSettings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"$ref":"#/components/schemas/update_view_input/$defs/__schema0"}},"objectViews":{"type":"object","propertyNames":{"type":"string","enum":["trace","dataset-item"]},"additionalProperties":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id"],"additionalProperties":false},{"type":"null"}]}},"query":{"type":"object","properties":{"resource":{"type":"string","enum":["traces","eval-results"]},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"label":{"type":"string"},"selector":{"type":"string"},"format":{"type":"string","enum":["boolean","json","number","text"]}},"required":["id","label","selector","format"],"additionalProperties":false}},"filters":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"selector":{"type":"string"},"operator":{"type":"string","enum":["equals","exists","notEquals"]},"value":{"$ref":"#/components/schemas/update_view_input/$defs/__schema1"}},"required":["selector","operator"],"additionalProperties":false}},"sort":{"anyOf":[{"type":"object","properties":{"selector":{"type":"string"},"direction":{"type":"string","enum":["asc","desc"]}},"required":["selector","direction"],"additionalProperties":false},{"type":"null"}]}},"required":["resource","columns","filters","sort"],"additionalProperties":false}},"required":["schemaVersion","computedColumns","columnOrder","columnVisibility","columnSizing","view","detailsOpen"],"additionalProperties":false},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":1,"maxLength":128}},"required":["resource","name","settings","expectedRevision","id"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/update_view_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_view_input/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/update_view_input/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_view_input/$defs/__schema1"}}]}}},"delete_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expectedRevision"],"additionalProperties":false},"list_saved_views_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500}},"additionalProperties":false},"get_saved_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"create_saved_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"format":{"type":"string","enum":["boolean","json","number","text"]},"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"label":{"type":"string","minLength":1,"maxLength":200},"selector":{"type":"string","minLength":1,"maxLength":300}},"required":["format","id","label","selector"],"additionalProperties":false}},"filters":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["equals","exists","notEquals"]},"selector":{"type":"string","minLength":1,"maxLength":300},"value":{"$ref":"#/components/schemas/create_saved_view_input/$defs/__schema0"}},"required":["operator","selector"],"additionalProperties":false}},"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"name":{"type":"string","minLength":1,"maxLength":200},"resource":{"type":"string","enum":["eval-results","traces"]},"sort":{"anyOf":[{"type":"object","properties":{"direction":{"type":"string","enum":["asc","desc"]},"selector":{"type":"string","minLength":1,"maxLength":300}},"required":["direction","selector"],"additionalProperties":false},{"type":"null"}]}},"required":["columns","name","resource"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/create_saved_view_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/create_saved_view_input/$defs/__schema0"}}]}}},"update_saved_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"patch":{"type":"object","properties":{"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"format":{"type":"string","enum":["boolean","json","number","text"]},"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"label":{"type":"string","minLength":1,"maxLength":200},"selector":{"type":"string","minLength":1,"maxLength":300}},"required":["format","id","label","selector"],"additionalProperties":false}},"filters":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"operator":{"type":"string","enum":["equals","exists","notEquals"]},"selector":{"type":"string","minLength":1,"maxLength":300},"value":{"$ref":"#/components/schemas/update_saved_view_input/$defs/__schema0"}},"required":["operator","selector"],"additionalProperties":false}},"name":{"type":"string","minLength":1,"maxLength":200},"sort":{"anyOf":[{"type":"object","properties":{"direction":{"type":"string","enum":["asc","desc"]},"selector":{"type":"string","minLength":1,"maxLength":300}},"required":["direction","selector"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false}},"required":["id","patch"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/update_saved_view_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_saved_view_input/$defs/__schema0"}}]}}},"delete_saved_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"list_datasets_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"filter":{"type":"string","maxLength":4000}},"additionalProperties":false},"get_dataset_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"includeItems":{"type":"boolean"}},"required":["id"],"additionalProperties":false},"list_dataset_items_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"id":{"type":"string","minLength":1,"maxLength":128},"preview":{"type":"boolean"}},"required":["id"],"additionalProperties":false},"get_dataset_item_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"fields":{"maxItems":4,"type":"array","items":{"type":"string","enum":["input","expectedOutput","metadata","sourceSpanEvidence"]}}},"required":["id"],"additionalProperties":false},"create_dataset_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"description":{"type":"string","maxLength":4000},"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"name":{"type":"string","minLength":1,"maxLength":200}},"required":["name"],"additionalProperties":false},"update_dataset_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"patch":{"type":"object","properties":{"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_dataset_input/$defs/__schema0"}},"fieldSchemas":{"type":"object","properties":{"input":{"type":"object","properties":{"schema":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_dataset_input/$defs/__schema0"}},{"type":"null"}]},"enforced":{"type":"boolean"}},"required":["schema","enforced"],"additionalProperties":false},"expectedOutput":{"type":"object","properties":{"schema":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_dataset_input/$defs/__schema0"}},{"type":"null"}]},"enforced":{"type":"boolean"}},"required":["schema","enforced"],"additionalProperties":false},"metadata":{"type":"object","properties":{"schema":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_dataset_input/$defs/__schema0"}},{"type":"null"}]},"enforced":{"type":"boolean"}},"required":["schema","enforced"],"additionalProperties":false}},"additionalProperties":false},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false}},"required":["id","patch"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/update_dataset_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_dataset_input/$defs/__schema0"}}]}}},"delete_dataset_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"create_dataset_item_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"datasetId":{"type":"string","minLength":1,"maxLength":128},"item":{"type":"object","properties":{"sourceSpanId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"expectedOutput":{"$ref":"#/components/schemas/create_dataset_item_input/$defs/__schema0"},"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"input":{"$ref":"#/components/schemas/create_dataset_item_input/$defs/__schema0"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/create_dataset_item_input/$defs/__schema0"}},"sourceTraceId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}},"required":["input"],"additionalProperties":false}},"required":["datasetId","item"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/create_dataset_item_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/create_dataset_item_input/$defs/__schema0"}}]}}},"update_dataset_item_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"patch":{"type":"object","properties":{"sourceSpanId":{"anyOf":[{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}]},"expectedVersionId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"expectedOutput":{"anyOf":[{"$ref":"#/components/schemas/update_dataset_item_input/$defs/__schema0"},{"type":"null"}]},"input":{"$ref":"#/components/schemas/update_dataset_item_input/$defs/__schema0"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_dataset_item_input/$defs/__schema0"}},"sourceTraceId":{"anyOf":[{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}]}},"additionalProperties":false}},"required":["id","patch"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/update_dataset_item_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/update_dataset_item_input/$defs/__schema0"}}]}}},"delete_dataset_item_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"list_dashboards_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"get_dashboard_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"create_dashboard_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"config":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1},"name":{"type":"string","minLength":1,"maxLength":160},"description":{"type":"string","maxLength":1000},"widgets":{"maxItems":20,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"title":{"type":"string","minLength":1,"maxLength":160},"type":{"type":"string","enum":["metric","bar","donut","table","stacked","line","matrix","scatter"]},"width":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]},"layout":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":10000},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":2,"maximum":100}},"required":["x","y","w","h"],"additionalProperties":false},"showGroupIcons":{"type":"boolean"},"trendDirection":{"type":"string","enum":["increase","decrease","neutral"]},"presentation":{"type":"object","properties":{"showSummary":{"type":"boolean"},"labels":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}},"members":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"object","properties":{"unit":{"type":"string","enum":["auto","seconds","milliseconds","USD","percent","number"]},"decimals":{"type":"integer","minimum":0,"maximum":6},"values":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}}},"additionalProperties":false}}},"additionalProperties":false},"query":{"type":"object","properties":{"measures":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"dimensions":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"filters":{"default":[],"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/create_dashboard_input/$defs/__schema0"}},"having":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false}},"timeDimensions":{"default":[],"maxItems":3,"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"dateRange":{"type":"array","prefixItems":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}],"items":false,"minItems":2,"maxItems":2},"granularity":{"type":"string","enum":["day","week","month"]}},"required":["dimension","dateRange"],"additionalProperties":false}},"segments":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"order":{"default":[],"maxItems":50,"type":"array","items":{"type":"array","prefixItems":[{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},{"type":"string","enum":["asc","desc"]}],"items":false,"minItems":2,"maxItems":2}},"timezone":{"default":"UTC","type":"string","minLength":1},"limit":{"default":1000,"type":"integer","minimum":1,"maximum":5000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":1000000},"total":{"default":false,"type":"boolean"},"classification":{"type":"object","properties":{"actualPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"predictedPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"positiveClass":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"}]}},"required":["actualPath","predictedPath","positiveClass"],"additionalProperties":false},"comparison":{"type":"object","properties":{"baselineRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"candidateRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"evaluatorVersionId":{"type":"string","minLength":1,"maxLength":200},"lowerIsBetter":{"type":"boolean"}},"required":["baselineRunIds","candidateRunIds","evaluatorVersionId"],"additionalProperties":false}},"required":["measures"],"additionalProperties":false},"series":{"minItems":1,"type":"array","items":{"type":"string"}},"groups":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["agent","workflow"]},"name":{"type":"string","minLength":1,"maxLength":200},"versions":{"minItems":1,"maxItems":6,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]}}},"required":["type","name"],"additionalProperties":false}},"compare":{"type":"object","properties":{"type":{"type":"string","enum":["agent","workflow"]},"name":{"type":"string","minLength":1,"maxLength":200}},"required":["type","name"],"additionalProperties":false}},"required":["id","title","type","width","query"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"title":{"type":"string","minLength":1,"maxLength":160},"type":{"type":"string","const":"text"},"width":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]},"layout":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":10000},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":2,"maximum":100}},"required":["x","y","w","h"],"additionalProperties":false},"content":{"type":"string","maxLength":20000}},"required":["id","title","type","width","content"],"additionalProperties":false}]}},"defaultWindowDays":{"type":"integer","minimum":1,"maximum":90}},"required":["schemaVersion","name","description","widgets"],"additionalProperties":false}},"required":["config"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false},{"type":"object","properties":{"and":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/create_dashboard_input/$defs/__schema0"}}},"required":["and"],"additionalProperties":false},{"type":"object","properties":{"or":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/create_dashboard_input/$defs/__schema0"}}},"required":["or"],"additionalProperties":false}]}}},"update_dashboard_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"config":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1},"name":{"type":"string","minLength":1,"maxLength":160},"description":{"type":"string","maxLength":1000},"widgets":{"maxItems":20,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"title":{"type":"string","minLength":1,"maxLength":160},"type":{"type":"string","enum":["metric","bar","donut","table","stacked","line","matrix","scatter"]},"width":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]},"layout":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":10000},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":2,"maximum":100}},"required":["x","y","w","h"],"additionalProperties":false},"showGroupIcons":{"type":"boolean"},"trendDirection":{"type":"string","enum":["increase","decrease","neutral"]},"presentation":{"type":"object","properties":{"showSummary":{"type":"boolean"},"labels":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}},"members":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"object","properties":{"unit":{"type":"string","enum":["auto","seconds","milliseconds","USD","percent","number"]},"decimals":{"type":"integer","minimum":0,"maximum":6},"values":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}}},"additionalProperties":false}}},"additionalProperties":false},"query":{"type":"object","properties":{"measures":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"dimensions":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"filters":{"default":[],"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/update_dashboard_input/$defs/__schema0"}},"having":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false}},"timeDimensions":{"default":[],"maxItems":3,"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"dateRange":{"type":"array","prefixItems":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}],"items":false,"minItems":2,"maxItems":2},"granularity":{"type":"string","enum":["day","week","month"]}},"required":["dimension","dateRange"],"additionalProperties":false}},"segments":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"order":{"default":[],"maxItems":50,"type":"array","items":{"type":"array","prefixItems":[{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},{"type":"string","enum":["asc","desc"]}],"items":false,"minItems":2,"maxItems":2}},"timezone":{"default":"UTC","type":"string","minLength":1},"limit":{"default":1000,"type":"integer","minimum":1,"maximum":5000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":1000000},"total":{"default":false,"type":"boolean"},"classification":{"type":"object","properties":{"actualPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"predictedPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"positiveClass":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"}]}},"required":["actualPath","predictedPath","positiveClass"],"additionalProperties":false},"comparison":{"type":"object","properties":{"baselineRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"candidateRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"evaluatorVersionId":{"type":"string","minLength":1,"maxLength":200},"lowerIsBetter":{"type":"boolean"}},"required":["baselineRunIds","candidateRunIds","evaluatorVersionId"],"additionalProperties":false}},"required":["measures"],"additionalProperties":false},"series":{"minItems":1,"type":"array","items":{"type":"string"}},"groups":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["agent","workflow"]},"name":{"type":"string","minLength":1,"maxLength":200},"versions":{"minItems":1,"maxItems":6,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]}}},"required":["type","name"],"additionalProperties":false}},"compare":{"type":"object","properties":{"type":{"type":"string","enum":["agent","workflow"]},"name":{"type":"string","minLength":1,"maxLength":200}},"required":["type","name"],"additionalProperties":false}},"required":["id","title","type","width","query"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"title":{"type":"string","minLength":1,"maxLength":160},"type":{"type":"string","const":"text"},"width":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]},"layout":{"type":"object","properties":{"x":{"type":"integer","minimum":0,"maximum":11},"y":{"type":"integer","minimum":0,"maximum":10000},"w":{"type":"integer","minimum":1,"maximum":12},"h":{"type":"integer","minimum":2,"maximum":100}},"required":["x","y","w","h"],"additionalProperties":false},"content":{"type":"string","maxLength":20000}},"required":["id","title","type","width","content"],"additionalProperties":false}]}},"defaultWindowDays":{"type":"integer","minimum":1,"maximum":90}},"required":["schemaVersion","name","description","widgets"],"additionalProperties":false},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"id":{"type":"string","minLength":1,"maxLength":128}},"required":["config","expectedRevision","id"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false},{"type":"object","properties":{"and":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/update_dashboard_input/$defs/__schema0"}}},"required":["and"],"additionalProperties":false},{"type":"object","properties":{"or":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/update_dashboard_input/$defs/__schema0"}}},"required":["or"],"additionalProperties":false}]}}},"delete_dashboard_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expectedRevision"],"additionalProperties":false},"list_traces_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"filter":{"type":"string","maxLength":4000},"sessionId":{"type":"string","minLength":1,"maxLength":128}},"additionalProperties":false},"get_trace_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"list_trace_spans_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"get_span_path_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"traceId":{"type":"string","minLength":1,"maxLength":128},"spanId":{"type":"string","minLength":1,"maxLength":128}},"required":["traceId","spanId"],"additionalProperties":false},"list_trace_scores_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"list_sessions_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"filter":{"type":"string","maxLength":4000}},"additionalProperties":false},"get_session_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"list_scorer_versions_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"get_scorer_version_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"versionId":{"type":"string","minLength":1,"maxLength":128}},"required":["id","versionId"],"additionalProperties":false},"check_scorer_runtime_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scorerIds":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"evaluatorVersionIds":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":128},"additionalProperties":{"type":"string","minLength":1,"maxLength":128}}},"required":["scorerIds"],"additionalProperties":false},"probe_scorer_runtime_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scorerIds":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"evaluatorVersionIds":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":128},"additionalProperties":{"type":"string","minLength":1,"maxLength":128}},"traceId":{"type":"string","minLength":1,"maxLength":128},"spanId":{"type":"string","minLength":1,"maxLength":128},"datasetId":{"type":"string","minLength":1,"maxLength":128},"datasetItemId":{"type":"string","minLength":1,"maxLength":128},"datasetVersionId":{"type":"string","minLength":1,"maxLength":128}},"required":["scorerIds","traceId"],"additionalProperties":false},"test_scorer_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"traceId":{"type":"string","minLength":1,"maxLength":128},"spanId":{"type":"string","minLength":1,"maxLength":128},"scorerId":{"type":"string","minLength":1,"maxLength":128},"versionId":{"type":"string","minLength":1,"maxLength":128},"scorer":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"description":{"default":"","type":"string","maxLength":4000},"type":{"type":"string","enum":["llm","javascript","python","library"]},"library":{"type":"object","properties":{"package":{"type":"string","const":"autoevals"},"version":{"type":"string","const":"0.3.0"},"adapterVersion":{"type":"number","const":1},"evaluator":{"type":"string","enum":["ExactMatch","Levenshtein","NumericDiff","ValidJSON","JSONDiff","Factuality"]},"mappings":{"type":"object","properties":{"input":{"type":"string","maxLength":300},"output":{"type":"string","maxLength":300},"expected":{"type":"string","maxLength":300}},"required":["output"],"additionalProperties":false},"options":{"default":{},"type":"object","properties":{"schema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/test_scorer_input/$defs/__schema0"}}},"additionalProperties":false}},"required":["package","version","adapterVersion","evaluator","mappings"],"additionalProperties":false},"code":{"default":"","type":"string","maxLength":128000},"model":{"default":"","type":"string","maxLength":200},"provider":{"type":"string","enum":["datool","vercel-ai-gateway","openai","typesafe-ai"]},"modelType":{"type":"string","enum":["language","evaluation"]},"chainOfThought":{"default":false,"type":"boolean"},"imagePaths":{"maxItems":4,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"messages":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user"]},"content":{"type":"string","maxLength":32000}},"required":["role","content"]}},"choices":{"default":[],"maxItems":50,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":120},"score":{"type":"number","minimum":0,"maximum":1}},"required":["label","score"]}},"allowSkip":{"default":false,"type":"boolean"},"threshold":{"default":null,"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]}},"required":["name","slug","type"]},"datasetId":{"type":"string","minLength":1,"maxLength":128},"datasetItemId":{"type":"string","minLength":1,"maxLength":128},"datasetVersionId":{"type":"string","minLength":1,"maxLength":128}},"required":["traceId"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/test_scorer_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/test_scorer_input/$defs/__schema0"}}]}}},"list_eval_runs_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"filter":{"type":"string","maxLength":4000}},"additionalProperties":false},"list_eval_run_groups_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"filter":{"type":"string","maxLength":4000},"groupBy":{"type":"string","enum":["workflow","agent"]}},"required":["groupBy"],"additionalProperties":false},"cancel_eval_run_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"recover_eval_run_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"get_eval_run_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"id":{"type":"string","minLength":1,"maxLength":128},"includeEvidence":{"default":false,"type":"boolean"}},"required":["id"],"additionalProperties":false},"get_eval_target_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"targetId":{"type":"string","minLength":1,"maxLength":128}},"required":["id","targetId"],"additionalProperties":false},"start_eval_run_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"parentRunId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"useRecordedVersions":{"type":"boolean"},"promptOverrides":{"type":"object","propertyNames":{"type":"string","maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"additionalProperties":{"type":"object","properties":{"version":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647},"model":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false}},"inputOverrides":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/start_eval_run_input/$defs/__schema0"},"description":"Connected dataset runs only. Shallow merge over each object case input; override keys win, nested objects and arrays replace whole values, and null is literal. Never merges expectedOutput or metadata."},"datasetVersionId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"evaluatorVersionIds":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"additionalProperties":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}},"sourceRunId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"background":{"type":"boolean"},"mode":{"type":"string","enum":["connected","traces"]},"appId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"concurrency":{"type":"integer","minimum":1,"maximum":16},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/start_eval_run_input/$defs/__schema1"}},"datasetId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"datasetItemIds":{"minItems":1,"maxItems":10000,"type":"array","items":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}},"evaluatorIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}},"name":{"type":"string","minLength":1,"maxLength":200},"traceIds":{"minItems":1,"maxItems":10000,"type":"array","items":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}},"requestKey":{"type":"string","minLength":1,"maxLength":128}},"required":["requestKey"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/start_eval_run_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/start_eval_run_input/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/start_eval_run_input/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/start_eval_run_input/$defs/__schema1"}}]}}},"compare_eval_runs_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"leftId":{"type":"string","minLength":1,"maxLength":128},"rightId":{"type":"string","minLength":1,"maxLength":128},"offset":{"default":0,"type":"integer","minimum":0,"maximum":100000},"includeEvidence":{"default":false,"type":"boolean"}},"required":["leftId","rightId"],"additionalProperties":false},"gate_eval_run_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"minScore":{"default":0,"type":"number","minimum":0,"maximum":1},"minPassRate":{"default":1,"type":"number","minimum":0,"maximum":1},"maxErrors":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"allowUnscored":{"default":false,"type":"boolean"},"baselineId":{"type":"string","minLength":1,"maxLength":128},"maxRegression":{"default":0,"type":"number","minimum":0,"maximum":1}},"required":["id"],"additionalProperties":false},"promote_spans_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"datasetId":{"type":"string","minLength":1,"maxLength":200},"preview":{"default":true,"type":"boolean"},"expectedHash":{"type":"string"},"expectedEvidenceHash":{"type":"string"},"spans":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"traceId":{"type":"string","minLength":1,"maxLength":200},"spanId":{"type":"string","minLength":1,"maxLength":200},"id":{"type":"string","minLength":1,"maxLength":200},"mappedInput":{"$ref":"#/components/schemas/promote_spans_input/$defs/__schema0"},"expectedOutput":{"$ref":"#/components/schemas/promote_spans_input/$defs/__schema0"},"copyObservedOutput":{"default":false,"type":"boolean"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/promote_spans_input/$defs/__schema0"}}},"required":["traceId","spanId"],"additionalProperties":false}}},"required":["datasetId","spans"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/promote_spans_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/promote_spans_input/$defs/__schema0"}}]}}},"bulk_dataset_items_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"datasetId":{"type":"string","minLength":1,"maxLength":128},"expectedHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"create":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"sourceSpanId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"expectedOutput":{"$ref":"#/components/schemas/bulk_dataset_items_input/$defs/__schema0"},"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"input":{"$ref":"#/components/schemas/bulk_dataset_items_input/$defs/__schema0"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/bulk_dataset_items_input/$defs/__schema0"}},"sourceTraceId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}},"required":["input"],"additionalProperties":false}},"update":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"patch":{"type":"object","properties":{"sourceSpanId":{"anyOf":[{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}]},"expectedVersionId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"expectedOutput":{"anyOf":[{"$ref":"#/components/schemas/bulk_dataset_items_input/$defs/__schema0"},{"type":"null"}]},"input":{"$ref":"#/components/schemas/bulk_dataset_items_input/$defs/__schema0"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/bulk_dataset_items_input/$defs/__schema0"}},"sourceTraceId":{"anyOf":[{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}]}},"additionalProperties":false}},"required":["id","patch"]}},"delete":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}}},"required":["datasetId"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/bulk_dataset_items_input/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/bulk_dataset_items_input/$defs/__schema0"}}]}}},"create_dataset_snapshot_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"datasetId":{"type":"string","minLength":1,"maxLength":128},"label":{"type":"string","minLength":1,"maxLength":200}},"required":["datasetId"],"additionalProperties":false},"list_dataset_snapshots_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"datasetId":{"type":"string","minLength":1,"maxLength":128}},"required":["datasetId"],"additionalProperties":false},"get_dataset_snapshot_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"includeTotal":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":500},"datasetId":{"type":"string","minLength":1,"maxLength":128},"versionId":{"type":"string","minLength":1,"maxLength":128}},"required":["datasetId","versionId"],"additionalProperties":false},"preview_dashboard_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128}},"required":["id"],"additionalProperties":false},"get_saved_view_data_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"runId":{"type":"string","minLength":1,"maxLength":128},"offset":{"type":"integer","minimum":0,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["id"],"additionalProperties":false},"list_report_templates_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"get_report_template_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id"],"additionalProperties":false},"list_reports_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"get_report_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"number":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["number"],"additionalProperties":false},"create_report_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":160},"description":{"default":"","type":"string","maxLength":1000},"mdx":{"type":"string","minLength":1,"maxLength":200000},"sources":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"additionalProperties":{"type":"object","properties":{"query":{"type":"object","properties":{"measures":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"dimensions":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"filters":{"default":[],"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/create_report_input/$defs/__schema0"}},"having":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false}},"timeDimensions":{"default":[],"maxItems":3,"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"dateRange":{"type":"array","prefixItems":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}],"items":false,"minItems":2,"maxItems":2},"granularity":{"type":"string","enum":["day","week","month"]}},"required":["dimension","dateRange"],"additionalProperties":false}},"segments":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"order":{"default":[],"maxItems":50,"type":"array","items":{"type":"array","prefixItems":[{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},{"type":"string","enum":["asc","desc"]}],"items":false,"minItems":2,"maxItems":2}},"timezone":{"default":"UTC","type":"string","minLength":1},"limit":{"default":1000,"type":"integer","minimum":1,"maximum":5000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":1000000},"total":{"default":false,"type":"boolean"},"classification":{"type":"object","properties":{"actualPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"predictedPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"positiveClass":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"}]}},"required":["actualPath","predictedPath","positiveClass"],"additionalProperties":false},"comparison":{"type":"object","properties":{"baselineRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"candidateRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"evaluatorVersionId":{"type":"string","minLength":1,"maxLength":200},"lowerIsBetter":{"type":"boolean"}},"required":["baselineRunIds","candidateRunIds","evaluatorVersionId"],"additionalProperties":false}},"required":["measures"],"additionalProperties":false},"presentation":{"type":"object","properties":{"showSummary":{"type":"boolean"},"labels":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}},"members":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"object","properties":{"unit":{"type":"string","enum":["auto","seconds","milliseconds","USD","percent","number"]},"decimals":{"type":"integer","minimum":0,"maximum":6},"values":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}}},"additionalProperties":false}}},"additionalProperties":false}},"required":["query"],"additionalProperties":false}},"bindings":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"additionalProperties":{"type":"object","properties":{"operation":{"type":"string","enum":["value","difference","relativeChange","ratio","percentagePoints"]},"format":{"type":"string","enum":["number","percent","USD"]},"decimals":{"type":"integer","minimum":0,"maximum":6},"expected":{"type":"number"},"tolerance":{"type":"number","minimum":0,"maximum":1},"source":{"type":"object","properties":{"measure":{"type":"string","minLength":1,"maxLength":200},"dimensions":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":["string","number","boolean","null"]}},"source":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"}},"required":["measure","dimensions","source"],"additionalProperties":false},"baseline":{"type":"object","properties":{"measure":{"type":"string","minLength":1,"maxLength":200},"dimensions":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":["string","number","boolean","null"]}},"source":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"}},"required":["measure","dimensions","source"],"additionalProperties":false}},"required":["operation","source"]}},"creationKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["name","mdx","creationKey"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false},{"type":"object","properties":{"and":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/create_report_input/$defs/__schema0"}}},"required":["and"],"additionalProperties":false},{"type":"object","properties":{"or":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/create_report_input/$defs/__schema0"}}},"required":["or"],"additionalProperties":false}]}}},"get_report_recipe_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"get_report_authoring_guide_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"get_report_components_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"validate_report_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"document":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":160},"description":{"default":"","type":"string","maxLength":1000},"mdx":{"type":"string","minLength":1,"maxLength":200000},"sources":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"additionalProperties":{"type":"object","properties":{"query":{"type":"object","properties":{"measures":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"dimensions":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"filters":{"default":[],"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/validate_report_input/$defs/__schema0"}},"having":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false}},"timeDimensions":{"default":[],"maxItems":3,"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"dateRange":{"type":"array","prefixItems":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}],"items":false,"minItems":2,"maxItems":2},"granularity":{"type":"string","enum":["day","week","month"]}},"required":["dimension","dateRange"],"additionalProperties":false}},"segments":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"order":{"default":[],"maxItems":50,"type":"array","items":{"type":"array","prefixItems":[{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},{"type":"string","enum":["asc","desc"]}],"items":false,"minItems":2,"maxItems":2}},"timezone":{"default":"UTC","type":"string","minLength":1},"limit":{"default":1000,"type":"integer","minimum":1,"maximum":5000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":1000000},"total":{"default":false,"type":"boolean"},"classification":{"type":"object","properties":{"actualPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"predictedPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"positiveClass":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"}]}},"required":["actualPath","predictedPath","positiveClass"],"additionalProperties":false},"comparison":{"type":"object","properties":{"baselineRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"candidateRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"evaluatorVersionId":{"type":"string","minLength":1,"maxLength":200},"lowerIsBetter":{"type":"boolean"}},"required":["baselineRunIds","candidateRunIds","evaluatorVersionId"],"additionalProperties":false}},"required":["measures"],"additionalProperties":false},"presentation":{"type":"object","properties":{"showSummary":{"type":"boolean"},"labels":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}},"members":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"object","properties":{"unit":{"type":"string","enum":["auto","seconds","milliseconds","USD","percent","number"]},"decimals":{"type":"integer","minimum":0,"maximum":6},"values":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}}},"additionalProperties":false}}},"additionalProperties":false}},"required":["query"],"additionalProperties":false}},"bindings":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"additionalProperties":{"type":"object","properties":{"operation":{"type":"string","enum":["value","difference","relativeChange","ratio","percentagePoints"]},"format":{"type":"string","enum":["number","percent","USD"]},"decimals":{"type":"integer","minimum":0,"maximum":6},"expected":{"type":"number"},"tolerance":{"type":"number","minimum":0,"maximum":1},"source":{"type":"object","properties":{"measure":{"type":"string","minLength":1,"maxLength":200},"dimensions":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":["string","number","boolean","null"]}},"source":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"}},"required":["measure","dimensions","source"],"additionalProperties":false},"baseline":{"type":"object","properties":{"measure":{"type":"string","minLength":1,"maxLength":200},"dimensions":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":["string","number","boolean","null"]}},"source":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"}},"required":["measure","dimensions","source"],"additionalProperties":false}},"required":["operation","source"]}}},"required":["name","mdx"],"additionalProperties":false},"number":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"refresh":{"default":false,"type":"boolean"}},"required":["document"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false},{"type":"object","properties":{"and":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/validate_report_input/$defs/__schema0"}}},"required":["and"],"additionalProperties":false},{"type":"object","properties":{"or":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/validate_report_input/$defs/__schema0"}}},"required":["or"],"additionalProperties":false}]}}},"update_report_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"number":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"document":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":160},"description":{"default":"","type":"string","maxLength":1000},"mdx":{"type":"string","minLength":1,"maxLength":200000},"sources":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"additionalProperties":{"type":"object","properties":{"query":{"type":"object","properties":{"measures":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"dimensions":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"filters":{"default":[],"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/update_report_input/$defs/__schema0"}},"having":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false}},"timeDimensions":{"default":[],"maxItems":3,"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"dateRange":{"type":"array","prefixItems":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}],"items":false,"minItems":2,"maxItems":2},"granularity":{"type":"string","enum":["day","week","month"]}},"required":["dimension","dateRange"],"additionalProperties":false}},"segments":{"default":[],"maxItems":25,"type":"array","items":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"}},"order":{"default":[],"maxItems":50,"type":"array","items":{"type":"array","prefixItems":[{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},{"type":"string","enum":["asc","desc"]}],"items":false,"minItems":2,"maxItems":2}},"timezone":{"default":"UTC","type":"string","minLength":1},"limit":{"default":1000,"type":"integer","minimum":1,"maximum":5000},"offset":{"default":0,"type":"integer","minimum":0,"maximum":1000000},"total":{"default":false,"type":"boolean"},"classification":{"type":"object","properties":{"actualPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"predictedPath":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"positiveClass":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"}]}},"required":["actualPath","predictedPath","positiveClass"],"additionalProperties":false},"comparison":{"type":"object","properties":{"baselineRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"candidateRunIds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"evaluatorVersionId":{"type":"string","minLength":1,"maxLength":200},"lowerIsBetter":{"type":"boolean"}},"required":["baselineRunIds","candidateRunIds","evaluatorVersionId"],"additionalProperties":false}},"required":["measures"],"additionalProperties":false},"presentation":{"type":"object","properties":{"showSummary":{"type":"boolean"},"labels":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}},"members":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"object","properties":{"unit":{"type":"string","enum":["auto","seconds","milliseconds","USD","percent","number"]},"decimals":{"type":"integer","minimum":0,"maximum":6},"values":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}}},"additionalProperties":false}}},"additionalProperties":false}},"required":["query"],"additionalProperties":false}},"bindings":{"default":{},"type":"object","propertyNames":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"},"additionalProperties":{"type":"object","properties":{"operation":{"type":"string","enum":["value","difference","relativeChange","ratio","percentagePoints"]},"format":{"type":"string","enum":["number","percent","USD"]},"decimals":{"type":"integer","minimum":0,"maximum":6},"expected":{"type":"number"},"tolerance":{"type":"number","minimum":0,"maximum":1},"source":{"type":"object","properties":{"measure":{"type":"string","minLength":1,"maxLength":200},"dimensions":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":["string","number","boolean","null"]}},"source":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"}},"required":["measure","dimensions","source"],"additionalProperties":false},"baseline":{"type":"object","properties":{"measure":{"type":"string","minLength":1,"maxLength":200},"dimensions":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":["string","number","boolean","null"]}},"source":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"}},"required":["measure","dimensions","source"],"additionalProperties":false}},"required":["operation","source"]}}},"required":["name","mdx"],"additionalProperties":false},"refresh":{"default":false,"type":"boolean"}},"required":["number","revision","document"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"object","properties":{"member":{"type":"string","minLength":3,"pattern":"^[a-z][A-Za-z0-9_]*(?:\\.[a-z][A-Za-z0-9_]*)+$"},"path":{"minItems":1,"maxItems":19,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"operator":{"type":"string","enum":["equals","notEquals","contains","notContains","startsWith","endsWith","gt","gte","lt","lte","in","notIn","set","notSet"]},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":["string","number","boolean","null"]}}},"required":["member","operator"],"additionalProperties":false},{"type":"object","properties":{"and":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/update_report_input/$defs/__schema0"}}},"required":["and"],"additionalProperties":false},{"type":"object","properties":{"or":{"minItems":1,"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/update_report_input/$defs/__schema0"}}},"required":["or"],"additionalProperties":false}]}}},"publish_report_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"number":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["number","revision"],"additionalProperties":false},"set_report_sharing_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"number":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"enabled":{"type":"boolean"}},"required":["number","revision","enabled"],"additionalProperties":false},"clone_report_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"number":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"creationKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["number","creationKey"],"additionalProperties":false},"resolve_trace_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500}},"required":["key"],"additionalProperties":false},"resolve_session_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500}},"required":["key"],"additionalProperties":false},"resolve_dataset_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500}},"required":["key"],"additionalProperties":false},"resolve_scorer_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500}},"required":["key"],"additionalProperties":false},"resolve_eval_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500}},"required":["key"],"additionalProperties":false},"resolve_dashboard_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500}},"required":["key"],"additionalProperties":false},"resolve_view_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500}},"required":["key"],"additionalProperties":false},"resolve_report_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500}},"required":["key"],"additionalProperties":false},"describe_agent_operations_input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Organization API key (dtk_). Required scopes are listed per operation."},"oauth2":{"type":"oauth2","description":"PKCE S256 with resource=https://www.trydatool.com/api/cli.","flows":{"authorizationCode":{"authorizationUrl":"https://www.trydatool.com/api/auth/oauth2/authorize","tokenUrl":"https://www.trydatool.com/api/auth/oauth2/token","refreshUrl":"https://www.trydatool.com/api/auth/oauth2/token","scopes":{"apps:read":"apps:read","apps:write":"apps:write","reviews:read":"reviews:read","reviews:write":"reviews:write","metrics:read":"metrics:read","scorers:read":"scorers:read","scorers:write":"scorers:write","views:read":"views:read","views:write":"views:write","datasets:read":"datasets:read","datasets:write":"datasets:write","dashboards:read":"dashboards:read","dashboards:write":"dashboards:write","traces:read":"traces:read","evals:read":"evals:read","evals:write":"evals:write","prompts:read":"prompts:read","prompts:write":"prompts:write","traces:write":"traces:write","playgrounds:read":"playgrounds:read","playgrounds:write":"playgrounds:write"}}}}}}}