{"openapi":"3.1.0","info":{"title":"Team0 External API","version":"1.0.0-beta","description":"Machine-readable discovery contract for the allowlisted Team0 External API beta. Use the MCP endpoint for self-serve agent connections.","contact":{"name":"Team0 developer support","email":"hey@team0.ai"}},"servers":[{"url":"https://api.team0.ai"}],"security":[{"OAuth2":[]},{"ApiKey":[]}],"paths":{"/.well-known/oauth-protected-resource":{"get":{"responses":{"200":{"description":"OAuth protected-resource metadata."}},"security":[]}},"/v1/capabilities":{"get":{"responses":{"200":{"description":"Capabilities granted to the authenticated principal."}}}},"/v1/developer-apps":{"get":{"responses":{"200":{"description":"List authorized developer applications."}},"security":[{"OAuth2":["developer_apps.manage"]}]},"post":{"responses":{"200":{"description":"Create a developer application."}},"security":[{"OAuth2":["developer_apps.manage"]}]}},"/v1/developer-apps/{app_id}":{"get":{"responses":{"200":{"description":"Read a developer application."}},"security":[{"OAuth2":["developer_apps.manage"]}]}},"/v1/developer-apps/{app_id}/credentials":{"post":{"responses":{"200":{"description":"Issue a server credential."}},"security":[{"OAuth2":["developer_apps.manage"]}]}},"/v1/developer-apps/{app_id}/credentials/{credential_id}":{"get":{"responses":{"200":{"description":"Read credential metadata."}},"security":[{"OAuth2":["developer_apps.manage"]}]}},"/v1/developer-apps/{app_id}/credentials/{credential_id}/rotate":{"post":{"responses":{"200":{"description":"Rotate a server credential."}},"security":[{"OAuth2":["developer_apps.manage"]}]}},"/v1/developer-apps/{app_id}/credentials/{credential_id}/revoke":{"post":{"responses":{"200":{"description":"Revoke a server credential."}},"security":[{"OAuth2":["developer_apps.manage"]}]}}},"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","description":"Delegated human access through Clerk Authorization Code with PKCE S256.","flows":{"authorizationCode":{"authorizationUrl":"https://clerk.team0.ai/oauth/authorize","tokenUrl":"https://clerk.team0.ai/oauth/token","refreshUrl":"https://clerk.team0.ai/oauth/token","scopes":{"offline_access":"Refresh delegated access.","action_items.read":"Read authorized action items.","action_items.write":"Create and update authorized action items.","artifacts.read":"Read authorized artifact metadata and content links.","artifacts.write":"Create authorized artifacts when enabled.","chief.approve":"Decide exact, version-bound Chief approvals as a delegated human.","chief.effects.resolve":"Resolve exact uncertain effects under operator policy.","wm.read":"Read authorized World Model projections.","wm.compose":"Compose from a frozen World Model read.","wm.evidence.read":"Read authorized evidence provenance.","wm.candidates.read":"Read authorized unresolved World Model candidates.","wm.source_content.read":"Read bounded authorized source excerpts.","wm.events.write":"Submit immutable events for a registered source.","wm.corrections.write":"Submit delegated-human World Model corrections.","chief.read":"Read authorized Chief resources and runs.","chief.run":"Start and interact with Chief runs.","connections.read":"Read connection status and capabilities.","connections.manage":"Start delegated provider-consent sessions.","developer_apps.manage":"Administer developer apps and their credentials.","usage.read":"Read authorized usage records.","webhooks.manage":"Administer webhook endpoints and deliveries."}}}},"ApiKey":{"type":"http","scheme":"bearer","bearerFormat":"Team0 API key","description":"Server-only Team0 API key."}}},"externalDocs":{"description":"Team0 developer resources","url":"https://team0.ai/developers"},"x-team0-availability":"allowlisted-beta"}