{"openapi":"3.1.0","info":{"title":"Lupin API","version":"0.1.0","description":"Request schemas are generated from runtime validators. The registration schema describes canonical inputs before normalization. Unconstrained response objects indicate resource responses whose wire fields are not yet modeled."},"servers":[{"url":"https://api.lupin.sh","description":"Production"}],"paths":{"/v0/openapi.json":{"get":{"operationId":"get__v0_openapi_json","summary":"GET /v0/openapi.json","tags":["openapi.json"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/agent/registration":{"get":{"operationId":"get__v0_agent_registration","summary":"Discover Agent Registration","tags":["agent"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/asyncapi.json":{"get":{"operationId":"get__v0_asyncapi_json","summary":"GET /v0/asyncapi.json","tags":["asyncapi.json"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/track/{message_id}":{"get":{"operationId":"get__v0_track_message_id_","summary":"GET /v0/track/{message_id}","tags":["track"],"security":[],"parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/agent/register":{"post":{"operationId":"post__v0_agent_register","summary":"Register Autonomous Agent","tags":["agent"],"security":[],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":32,"maxLength":256,"pattern":"^[A-Za-z0-9_-]{32,256}$"},"description":"Secret recovery credential. Reuse with the same canonical username; never log or publish it."}],"responses":{"200":{"description":"Original workspace and active bootstrap key recovered","content":{"application/json":{"schema":{"type":"object","required":["organization_id","project_id","inbox_id","email","api_key","verification_pending","mode","plan","capabilities","limits","links"],"properties":{"organization_id":{"type":"string"},"project_id":{"type":"string"},"inbox_id":{"type":"string"},"email":{"type":"string","format":"email"},"api_key":{"type":"string","description":"Restricted bearer credential for this new workspace. Store privately; never put it in URLs or logs."},"verification_pending":{"type":"boolean","description":"Workspace verification state; a later human claim does not upgrade the original agent key."},"mode":{"const":"autonomous"},"plan":{"const":"Free"},"capabilities":{"type":"object","properties":{"receive_email":{"type":"boolean","const":true},"read_email":{"type":"boolean","const":true},"create_drafts":{"type":"boolean","const":true},"send_email":{"type":"boolean","const":false},"paid_resources":{"type":"boolean","const":false}}},"limits":{"type":"object","properties":{"registrations_per_ip_per_day":{"type":"integer","const":5},"registrations_global_per_day":{"type":"integer","const":100},"inboxes":{"type":"integer","const":3},"domains":{"type":"integer","const":0}}},"links":{"type":"object","required":["console","docs","claim"],"properties":{"console":{"type":"string","format":"uri"},"docs":{"type":"string","format":"uri"},"claim":{"type":"string","format":"uri"}}}}}}}},"201":{"description":"New bounded agent workspace created","content":{"application/json":{"schema":{"type":"object","required":["organization_id","project_id","inbox_id","email","api_key","verification_pending","mode","plan","capabilities","limits","links"],"properties":{"organization_id":{"type":"string"},"project_id":{"type":"string"},"inbox_id":{"type":"string"},"email":{"type":"string","format":"email"},"api_key":{"type":"string","description":"Restricted bearer credential for this new workspace. Store privately; never put it in URLs or logs."},"verification_pending":{"type":"boolean","description":"Workspace verification state; a later human claim does not upgrade the original agent key."},"mode":{"const":"autonomous"},"plan":{"const":"Free"},"capabilities":{"type":"object","properties":{"receive_email":{"type":"boolean","const":true},"read_email":{"type":"boolean","const":true},"create_drafts":{"type":"boolean","const":true},"send_email":{"type":"boolean","const":false},"paid_resources":{"type":"boolean","const":false}}},"limits":{"type":"object","properties":{"registrations_per_ip_per_day":{"type":"integer","const":5},"registrations_global_per_day":{"type":"integer","const":100},"inboxes":{"type":"integer","const":3},"domains":{"type":"integer","const":0}}},"links":{"type":"object","required":["console","docs","claim"],"properties":{"console":{"type":"string","format":"uri"},"docs":{"type":"string","format":"uri"},"claim":{"type":"string","format":"uri"}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"413":{"$ref":"#/components/responses/Error"},"429":{"description":"Daily registration admission limit reached","headers":{"Retry-After":{"description":"Seconds until the UTC-day admission limit resets.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"description":"Create a Free autonomous workspace, default project, inbox and restricted API key without a human email or provider request. Save the secret Idempotency-Key before calling; exact retries recover the same identity. The initial key cannot send email, create keys or provision paid resources, including after a human claims the workspace.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRegisterSchema"}}}}}},"/v0/agent/sign-up":{"post":{"operationId":"post__v0_agent_sign_up","summary":"Sign Up","tags":["agent"],"security":[],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Secret unguessable creation token. Replays recover the original key only for the same email; keep this token confidential.","schema":{"type":"string","minLength":32,"maxLength":256}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"organization_id":{"type":"string"},"inbox_id":{"type":"string"},"api_key":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSignupSchema"}}}}}},"/v0/agent/resend-verification":{"post":{"operationId":"post__v0_agent_resend_verification","summary":"POST /v0/agent/resend-verification","tags":["agent"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/agent/verify":{"post":{"operationId":"post__v0_agent_verify","summary":"Verify","tags":["agent"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"verified":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentVerifySchema"}}}}}},"/v0/agent/observability":{"get":{"operationId":"get__v0_agent_observability","summary":"GET /v0/agent/observability","tags":["agent"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_agent_observability","summary":"PATCH /v0/agent/observability","tags":["agent"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/agent/traces":{"post":{"operationId":"post__v0_agent_traces","summary":"POST /v0/agent/traces","tags":["agent"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"get":{"operationId":"get__v0_agent_traces","summary":"GET /v0/agent/traces","tags":["agent"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/agent/traces/{trace_id}":{"get":{"operationId":"get__v0_agent_traces_trace_id_","summary":"GET /v0/agent/traces/{trace_id}","tags":["agent"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/browsers/sessions/{session_id}/actions":{"post":{"operationId":"post__v0_browsers_sessions_session_id_actions","summary":"Operate Browser Page","tags":["browsers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Required for paid research and page mutations; preserve for retries. Reads do not need an operation key.","schema":{"type":"string","minLength":8,"maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"action":{"const":"tabs"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"read"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"navigate"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"},"url":{"type":"string","format":"uri","maxLength":2000}},"required":["action","url"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"new_tab"},"url":{"type":"string","format":"uri","maxLength":2000}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"close_tab"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["action","tab_id"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"click"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"},"selector":{"type":"string","minLength":1,"maxLength":500}},"required":["action","selector"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"fill"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"},"selector":{"type":"string","minLength":1,"maxLength":500},"text":{"type":"string","maxLength":4000}},"required":["action","selector","text"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"select"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"},"selector":{"type":"string","minLength":1,"maxLength":500},"value":{"type":"string","maxLength":1000}},"required":["action","selector","value"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"press"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"},"key":{"type":"string","enum":["Enter","Tab","Escape","Backspace","ArrowDown","ArrowUp","ArrowLeft","ArrowRight","Space"]}},"required":["action","key"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"scroll"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"},"direction":{"type":"string","enum":["up","down"]},"pixels":{"type":"integer","minimum":1,"maximum":4000}},"required":["action","direction"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"back"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"forward"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"reload"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"screenshot"},"tab_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["action"],"additionalProperties":false}]}}}}}},"/v0/browsers/research":{"post":{"operationId":"post__v0_browsers_research","summary":"Search or Read the Web","tags":["browsers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Required for paid research and page mutations; preserve for retries. Reads do not need an operation key.","schema":{"type":"string","minLength":8,"maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"action":{"const":"search"},"query":{"type":"string","minLength":1,"maxLength":500}},"required":["action","query"],"additionalProperties":false},{"type":"object","properties":{"action":{"const":"read"},"url":{"type":"string","format":"uri","maxLength":2000}},"required":["action","url"],"additionalProperties":false}]}}}}}},"/v0/browsers/sessions":{"get":{"operationId":"get__v0_browsers_sessions","summary":"GET /v0/browsers/sessions","tags":["browsers"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"sessions":{"type":"array","items":{"$ref":"#/components/schemas/BrowserSession"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_browsers_sessions","summary":"POST /v0/browsers/sessions","tags":["browsers"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserSession"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$","maxLength":63}},"required":["name"]}}}}}},"/v0/browsers/sessions/{session_id}/connect":{"post":{"operationId":"post__v0_browsers_sessions_session_id_connect","summary":"POST /v0/browsers/sessions/{session_id}/connect","tags":["browsers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserSessionAccess"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/browsers/sessions/{session_id}/cdp":{"get":{"operationId":"get__v0_browsers_sessions_session_id_cdp","summary":"Connect to a browser session over CDP","tags":["browsers"],"security":[{"browserSessionToken":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"101":{"description":"CDP WebSocket connection established"},"401":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"426":{"description":"WebSocket upgrade required"},"502":{"$ref":"#/components/responses/Error"}},"description":"WebSocket upgrade using the five-minute session capability returned by the connect action. Pass the returned connect_url directly to a CDP client. Lupin rechecks the issuing API key's current permissions and revocation before upgrading."}},"/v0/browsers/sessions/{session_id}":{"delete":{"operationId":"delete__v0_browsers_sessions_session_id_","summary":"DELETE /v0/browsers/sessions/{session_id}","tags":["browsers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/capabilities":{"get":{"operationId":"get__v0_capabilities","summary":"GET /v0/capabilities","tags":["capabilities"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/provider-readiness":{"get":{"operationId":"get__v0_provider_readiness","summary":"GET /v0/provider-readiness","tags":["provider-readiness"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/voice/media/{call_id}":{"get":{"operationId":"get__v0_voice_media_call_id_","summary":"GET /v0/voice/media/{call_id}","tags":["voice"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"call_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/voice/llm/{number_id}/chat/completions":{"post":{"operationId":"post__v0_voice_llm_number_id_chat_completions","summary":"POST /v0/voice/llm/{number_id}/chat/completions","tags":["voice"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"number_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/voice/llm/{number_id}/workspace":{"post":{"operationId":"post__v0_voice_llm_number_id_workspace","summary":"POST /v0/voice/llm/{number_id}/workspace","tags":["voice"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"number_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/agent/actions":{"get":{"operationId":"get__v0_agent_actions","summary":"GET /v0/agent/actions","tags":["agent"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/agent/actions/{approval_id}/approve":{"post":{"operationId":"post__v0_agent_actions_approval_id_approve","summary":"POST /v0/agent/actions/{approval_id}/approve","tags":["agent"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/agent/actions/{approval_id}/deny":{"post":{"operationId":"post__v0_agent_actions_approval_id_deny","summary":"POST /v0/agent/actions/{approval_id}/deny","tags":["agent"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/voice/preferences":{"get":{"operationId":"get__v0_voice_preferences","summary":"GET /v0/voice/preferences","tags":["voice"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_voice_preferences","summary":"PATCH /v0/voice/preferences","tags":["voice"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/voice/llm/{number_id}/init":{"post":{"operationId":"post__v0_voice_llm_number_id_init","summary":"POST /v0/voice/llm/{number_id}/init","tags":["voice"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"number_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/phone/status":{"get":{"operationId":"get__v0_phone_status","summary":"GET /v0/phone/status","tags":["phone"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/voice/elevenlabs/webhook":{"post":{"operationId":"post__v0_voice_elevenlabs_webhook","summary":"POST /v0/voice/elevenlabs/webhook","tags":["voice"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/connections/catalog":{"get":{"operationId":"get__v0_connections_catalog","summary":"GET /v0/connections/catalog","tags":["connections"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/connections":{"get":{"operationId":"get__v0_connections","summary":"GET /v0/connections","tags":["connections"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_connections","summary":"POST /v0/connections","tags":["connections"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"app":{"type":"string"}},"required":["app"]}}}}}},"/v0/connections/{connection_id}/reconnect":{"post":{"operationId":"post__v0_connections_connection_id_reconnect","summary":"POST /v0/connections/{connection_id}/reconnect","tags":["connections"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/connections/{connection_id}":{"delete":{"operationId":"delete__v0_connections_connection_id_","summary":"DELETE /v0/connections/{connection_id}","tags":["connections"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/connections/{connection_id}/tools":{"get":{"operationId":"get__v0_connections_connection_id_tools","summary":"GET /v0/connections/{connection_id}/tools","tags":["connections"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/connections/{connection_id}/tools/{tool_slug}/execute":{"post":{"operationId":"post__v0_connections_connection_id_tools_tool_slug_execute","summary":"POST /v0/connections/{connection_id}/tools/{tool_slug}/execute","tags":["connections"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"tool_slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/status":{"get":{"operationId":"get__v0_billing_status","summary":"GET /v0/billing/status","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/catalog":{"get":{"operationId":"get__v0_billing_catalog","summary":"GET /v0/billing/catalog","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/usage":{"get":{"operationId":"get__v0_billing_usage","summary":"GET /v0/billing/usage","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/policies/sync":{"post":{"operationId":"post__v0_billing_policies_sync","summary":"POST /v0/billing/policies/sync","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/enroll":{"post":{"operationId":"post__v0_billing_enroll","summary":"POST /v0/billing/enroll","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/settings":{"get":{"operationId":"get__v0_billing_settings","summary":"GET /v0/billing/settings","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_billing_settings","summary":"POST /v0/billing/settings","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/invoices":{"get":{"operationId":"get__v0_billing_invoices","summary":"GET /v0/billing/invoices","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/upcoming":{"get":{"operationId":"get__v0_billing_upcoming","summary":"GET /v0/billing/upcoming","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/checkout":{"post":{"operationId":"post__v0_billing_checkout","summary":"POST /v0/billing/checkout","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"type":"string","enum":["Developer","Startup"]}},"required":["plan"]}}}}}},"/v0/billing/portal":{"post":{"operationId":"post__v0_billing_portal","summary":"POST /v0/billing/portal","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/webhooks":{"post":{"operationId":"post__v0_billing_webhooks","summary":"POST /v0/billing/webhooks","tags":["billing"],"security":[{"stripeSignature":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookV0Schema"}}}},"description":"Stripe provider callback. Verify the stripe-signature HMAC over the exact raw JSON body and reject timestamps older than five minutes."}},"/v0/billing/change-plan/preview":{"post":{"operationId":"post__v0_billing_change_plan_preview","summary":"POST /v0/billing/change-plan/preview","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/change-plan":{"post":{"operationId":"post__v0_billing_change_plan","summary":"POST /v0/billing/change-plan","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/storage":{"get":{"operationId":"get__v0_billing_storage","summary":"GET /v0/billing/storage","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/billing/storage/retention":{"post":{"operationId":"post__v0_billing_storage_retention","summary":"POST /v0/billing/storage/retention","tags":["billing"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/usage/ledger":{"get":{"operationId":"get__v0_usage_ledger","summary":"GET /v0/usage/ledger","tags":["usage"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/usage/events":{"get":{"operationId":"get__v0_usage_events","summary":"GET /v0/usage/events","tags":["usage"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/budgets":{"get":{"operationId":"get__v0_budgets","summary":"GET /v0/budgets","tags":["budgets"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_budgets","summary":"POST /v0/budgets","tags":["budgets"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/budgets/{budget_id}":{"delete":{"operationId":"delete__v0_budgets_budget_id_","summary":"DELETE /v0/budgets/{budget_id}","tags":["budgets"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"budget_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/operations/{operation_id}/result":{"get":{"operationId":"get__v0_operations_operation_id_result","summary":"GET /v0/operations/{operation_id}/result","tags":["operations"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/operations/{operation_id}":{"get":{"operationId":"get__v0_operations_operation_id_","summary":"GET /v0/operations/{operation_id}","tags":["operations"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations":{"get":{"operationId":"get__v0_organizations","summary":"Get Organization","tags":["organizations"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/auth/me":{"get":{"operationId":"get__v0_auth_me","summary":"Who Am I","tags":["auth"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/organizations/move":{"post":{"operationId":"post__v0_organizations_move","summary":"Move Organization Into Another","tags":["organizations"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"description":"Durable organization move unavailable or ownership conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["target_organization_id","target_api_key"],"properties":{"target_organization_id":{"type":"string"},"target_api_key":{"type":"string","writeOnly":true,"description":"Active full organization key belonging to the exact target. Durable workspace moves are unavailable; use human workspace ownership instead."}}}}}},"deprecated":true,"description":"Durable workspace merging is unavailable: subscriptions, private credentials and provider journals cannot be reassigned by this endpoint. No durable resources are moved. Ownership can be managed through the human console."}},"/v0/emails/inboxes":{"get":{"operationId":"get__v0_emails_inboxes","summary":"List Inboxes","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"inboxes":{"type":"array","items":{"$ref":"#/components/schemas/Inbox"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_emails_inboxes","summary":"Create Inbox","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInboxV0Schema"}}}}}},"/v0/emails/inboxes/{inbox_id}":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_","summary":"Get Inbox","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_emails_inboxes_inbox_id_","summary":"Update Inbox","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateInboxV0Schema"}}}}},"delete":{"operationId":"delete__v0_emails_inboxes_inbox_id_","summary":"Delete Inbox","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/threads":{"get":{"operationId":"get__v0_emails_threads","summary":"List Threads","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"threads":{"type":"array","items":{"$ref":"#/components/schemas/Thread"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/threads/search":{"get":{"operationId":"get__v0_emails_threads_search","summary":"Search Threads","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/threads/{thread_id}":{"get":{"operationId":"get__v0_emails_threads_thread_id_","summary":"Get Thread","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Thread"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_emails_threads_thread_id_","summary":"Update Thread","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Thread"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateThreadV0Schema"}}}}},"delete":{"operationId":"delete__v0_emails_threads_thread_id_","summary":"Delete Thread","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/threads/{thread_id}/attachments/{attachment_id}":{"get":{"operationId":"get__v0_emails_threads_thread_id_attachments_attachment_id_","summary":"Get Attachment","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/threads":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_threads","summary":"List Threads","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"threads":{"type":"array","items":{"$ref":"#/components/schemas/Thread"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/threads/search":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_threads_search","summary":"Search Threads","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/threads/{thread_id}":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_threads_thread_id_","summary":"Get Thread","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Thread"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_emails_inboxes_inbox_id_emails_threads_thread_id_","summary":"Update Thread","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Thread"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateThreadV0Schema"}}}}},"delete":{"operationId":"delete__v0_emails_inboxes_inbox_id_emails_threads_thread_id_","summary":"Delete Thread","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/threads/{thread_id}/attachments/{attachment_id}":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_threads_thread_id_attachments_attachment_id_","summary":"Get Attachment","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/emails/threads":{"get":{"operationId":"get__v0_projects_project_id_emails_threads","summary":"List Threads","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"threads":{"type":"array","items":{"$ref":"#/components/schemas/Thread"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/emails/threads/search":{"get":{"operationId":"get__v0_projects_project_id_emails_threads_search","summary":"Search Threads","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/emails/threads/{thread_id}":{"get":{"operationId":"get__v0_projects_project_id_emails_threads_thread_id_","summary":"Get Thread","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Thread"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_projects_project_id_emails_threads_thread_id_","summary":"Update Thread","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Thread"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateThreadV0Schema"}}}}},"delete":{"operationId":"delete__v0_projects_project_id_emails_threads_thread_id_","summary":"Delete Thread","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/emails/threads/{thread_id}/attachments/{attachment_id}":{"get":{"operationId":"get__v0_projects_project_id_emails_threads_thread_id_attachments_attachment_id_","summary":"Get Attachment","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails":{"get":{"operationId":"get__v0_emails","summary":"List Emails","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/search":{"get":{"operationId":"get__v0_emails_search","summary":"Search Emails","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails","summary":"List Emails","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/search":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_search","summary":"Search Emails","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/batch-get":{"post":{"operationId":"post__v0_emails_inboxes_inbox_id_emails_batch_get","summary":"Batch Get Emails","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchGetV0Schema"}}}}}},"/v0/emails/inboxes/{inbox_id}/emails/batch-update":{"post":{"operationId":"post__v0_emails_inboxes_inbox_id_emails_batch_update","summary":"Batch Update Emails","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchUpdateV0Schema"}}}}}},"/v0/emails/inboxes/{inbox_id}/emails/send":{"post":{"operationId":"post__v0_emails_inboxes_inbox_id_emails_send","summary":"Send Email","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageV0Schema"}}}}}},"/v0/emails/inboxes/{inbox_id}/emails/{email_id}":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_email_id_","summary":"Get Email","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"email_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_emails_inboxes_inbox_id_emails_email_id_","summary":"Update Email","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"email_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMessageV0Schema"}}}}},"delete":{"operationId":"delete__v0_emails_inboxes_inbox_id_emails_email_id_","summary":"Delete Email","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"email_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/{email_id}/raw":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_email_id_raw","summary":"Get Raw Email","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"email_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/{email_id}/attachments/{attachment_id}":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_email_id_attachments_attachment_id_","summary":"Get Attachment","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"email_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/{email_id}/reply":{"post":{"operationId":"post__v0_emails_inboxes_inbox_id_emails_email_id_reply","summary":"Reply To Email","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"email_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplyV0Schema"}}}}}},"/v0/emails/inboxes/{inbox_id}/emails/{email_id}/reply-all":{"post":{"operationId":"post__v0_emails_inboxes_inbox_id_emails_email_id_reply_all","summary":"Reply All Email","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"email_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplyV0Schema"}}}}}},"/v0/emails/inboxes/{inbox_id}/emails/{email_id}/forward":{"post":{"operationId":"post__v0_emails_inboxes_inbox_id_emails_email_id_forward","summary":"Forward Email","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"email_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardV0Schema"}}}}}},"/v0/internal/inbound":{"post":{"operationId":"post__v0_internal_inbound","summary":"POST /v0/internal/inbound","tags":["internal"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/drafts":{"get":{"operationId":"get__v0_emails_drafts","summary":"List Drafts","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"drafts":{"type":"array","items":{"$ref":"#/components/schemas/Draft"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/drafts/{draft_id}":{"get":{"operationId":"get__v0_emails_drafts_draft_id_","summary":"Get Draft","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Draft"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/drafts/{draft_id}/attachments/{attachment_id}":{"get":{"operationId":"get__v0_emails_drafts_draft_id_attachments_attachment_id_","summary":"Get Attachment","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/drafts":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_drafts","summary":"List Drafts","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"drafts":{"type":"array","items":{"$ref":"#/components/schemas/Draft"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_emails_inboxes_inbox_id_emails_drafts","summary":"Create Draft","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Draft"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDraftV0Schema"}}}}}},"/v0/emails/inboxes/{inbox_id}/emails/drafts/{draft_id}":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_drafts_draft_id_","summary":"Get Draft","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Draft"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_emails_inboxes_inbox_id_emails_drafts_draft_id_","summary":"Update Draft","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Draft"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDraftV0Schema"}}}}},"delete":{"operationId":"delete__v0_emails_inboxes_inbox_id_emails_drafts_draft_id_","summary":"Delete Draft","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/drafts/{draft_id}/attachments/{attachment_id}":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_drafts_draft_id_attachments_attachment_id_","summary":"Get Attachment","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/drafts/{draft_id}/send":{"post":{"operationId":"post__v0_emails_inboxes_inbox_id_emails_drafts_draft_id_send","summary":"Send Draft","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/emails/drafts":{"get":{"operationId":"get__v0_projects_project_id_emails_drafts","summary":"List Drafts","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"drafts":{"type":"array","items":{"$ref":"#/components/schemas/Draft"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/emails/drafts/{draft_id}":{"get":{"operationId":"get__v0_projects_project_id_emails_drafts_draft_id_","summary":"Get Draft","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Draft"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/emails/drafts/{draft_id}/attachments/{attachment_id}":{"get":{"operationId":"get__v0_projects_project_id_emails_drafts_draft_id_attachments_attachment_id_","summary":"Get Attachment","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"draft_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/lists/{direction}/{type}":{"get":{"operationId":"get__v0_emails_lists_direction_type_","summary":"List Entries","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_emails_lists_direction_type_","summary":"Create List Entry","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateListEntryV0Schema"}}}}}},"/v0/emails/lists/{direction}/{type}/{entry}":{"get":{"operationId":"get__v0_emails_lists_direction_type_entry_","summary":"Get List Entry","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}},{"name":"entry","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"delete__v0_emails_lists_direction_type_entry_","summary":"Delete List Entry","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}},{"name":"entry","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/emails/lists/{direction}/{type}":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_lists_direction_type_","summary":"List Entries","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_emails_inboxes_inbox_id_emails_lists_direction_type_","summary":"Create List Entry","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateListEntryV0Schema"}}}}}},"/v0/emails/inboxes/{inbox_id}/emails/lists/{direction}/{type}/{entry}":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_emails_lists_direction_type_entry_","summary":"Get List Entry","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}},{"name":"entry","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"delete__v0_emails_inboxes_inbox_id_emails_lists_direction_type_entry_","summary":"Delete List Entry","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}},{"name":"entry","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/emails/lists/{direction}/{type}":{"get":{"operationId":"get__v0_projects_project_id_emails_lists_direction_type_","summary":"List Entries","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_projects_project_id_emails_lists_direction_type_","summary":"Create List Entry","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateListEntryV0Schema"}}}}}},"/v0/projects/{project_id}/emails/lists/{direction}/{type}/{entry}":{"get":{"operationId":"get__v0_projects_project_id_emails_lists_direction_type_entry_","summary":"Get List Entry","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}},{"name":"entry","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"delete__v0_projects_project_id_emails_lists_direction_type_entry_","summary":"Delete List Entry","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"direction","in":"path","required":true,"schema":{"type":"string"}},{"name":"type","in":"path","required":true,"schema":{"type":"string"}},{"name":"entry","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/domains":{"get":{"operationId":"get__v0_domains","summary":"List Domains","tags":["domains"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"domains":{"type":"array","items":{"$ref":"#/components/schemas/Domain"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_domains","summary":"Create Domain","tags":["domains"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDomainV0Schema"}}}}}},"/v0/domains/{domain_id}":{"get":{"operationId":"get__v0_domains_domain_id_","summary":"Get Domain","tags":["domains"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_domains_domain_id_","summary":"Update Domain","tags":["domains"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDomainV0Schema"}}}}},"delete":{"operationId":"delete__v0_domains_domain_id_","summary":"Delete Domain","tags":["domains"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/domains/{domain_id}/verify":{"post":{"operationId":"post__v0_domains_domain_id_verify","summary":"Verify Domain","tags":["domains"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/domains/{domain_id}/zone-file":{"get":{"operationId":"get__v0_domains_domain_id_zone_file","summary":"Get Zone File","tags":["domains"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/domains/{domain_id}/setup-link":{"get":{"operationId":"get__v0_domains_domain_id_setup_link","summary":"Get Setup Link","tags":["domains"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/domains":{"get":{"operationId":"get__v0_projects_project_id_domains","summary":"List Domains","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"domains":{"type":"array","items":{"$ref":"#/components/schemas/Domain"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_projects_project_id_domains","summary":"Create Domain","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDomainV0Schema"}}}}}},"/v0/projects/{project_id}/domains/{domain_id}":{"get":{"operationId":"get__v0_projects_project_id_domains_domain_id_","summary":"Get Domain","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_projects_project_id_domains_domain_id_","summary":"Update Domain","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDomainV0Schema"}}}}},"delete":{"operationId":"delete__v0_projects_project_id_domains_domain_id_","summary":"Delete Domain","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/domains/{domain_id}/verify":{"post":{"operationId":"post__v0_projects_project_id_domains_domain_id_verify","summary":"Verify Domain","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/domains/{domain_id}/zone-file":{"get":{"operationId":"get__v0_projects_project_id_domains_domain_id_zone_file","summary":"Get Zone File","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"domain_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource content","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/webhooks":{"get":{"operationId":"get__v0_webhooks","summary":"List Webhooks","tags":["webhooks"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"webhooks":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_webhooks","summary":"Create Webhook","tags":["webhooks"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookV0Schema"}}}}}},"/v0/webhooks/{webhook_id}":{"get":{"operationId":"get__v0_webhooks_webhook_id_","summary":"Get Webhook","tags":["webhooks"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_webhooks_webhook_id_","summary":"Update Webhook","tags":["webhooks"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookV0Schema"}}}}},"delete":{"operationId":"delete__v0_webhooks_webhook_id_","summary":"Delete Webhook","tags":["webhooks"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/webhooks/{webhook_id}/headers":{"get":{"operationId":"get__v0_webhooks_webhook_id_headers","summary":"Get Webhook Headers","tags":["webhooks"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_webhooks_webhook_id_headers","summary":"Update Webhook Headers","tags":["webhooks"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookHeadersSchema"}}}}}},"/v0/webhooks/{webhook_id}/deliveries":{"get":{"operationId":"get__v0_webhooks_webhook_id_deliveries","summary":"List Webhook Deliveries","tags":["webhooks"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/webhooks/{webhook_id}/deliveries/{delivery_id}/resend":{"post":{"operationId":"post__v0_webhooks_webhook_id_deliveries_delivery_id_resend","summary":"Resend Webhook Delivery","tags":["webhooks"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/webhooks":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_webhooks","summary":"List Webhooks","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"webhooks":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_emails_inboxes_inbox_id_webhooks","summary":"Create Webhook","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookV0Schema"}}}}}},"/v0/emails/inboxes/{inbox_id}/webhooks/{webhook_id}":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_webhooks_webhook_id_","summary":"Get Webhook","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_emails_inboxes_inbox_id_webhooks_webhook_id_","summary":"Update Webhook","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookV0Schema"}}}}},"delete":{"operationId":"delete__v0_emails_inboxes_inbox_id_webhooks_webhook_id_","summary":"Delete Webhook","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/webhooks/{webhook_id}/headers":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_webhooks_webhook_id_headers","summary":"Get Webhook Headers","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_emails_inboxes_inbox_id_webhooks_webhook_id_headers","summary":"Update Webhook Headers","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookHeadersSchema"}}}}}},"/v0/projects/{project_id}/webhooks":{"get":{"operationId":"get__v0_projects_project_id_webhooks","summary":"List Webhooks","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"webhooks":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_projects_project_id_webhooks","summary":"Create Webhook","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookV0Schema"}}}}}},"/v0/projects/{project_id}/webhooks/{webhook_id}":{"get":{"operationId":"get__v0_projects_project_id_webhooks_webhook_id_","summary":"Get Webhook","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_projects_project_id_webhooks_webhook_id_","summary":"Update Webhook","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookV0Schema"}}}}},"delete":{"operationId":"delete__v0_projects_project_id_webhooks_webhook_id_","summary":"Delete Webhook","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/webhooks/{webhook_id}/headers":{"get":{"operationId":"get__v0_projects_project_id_webhooks_webhook_id_headers","summary":"Get Webhook Headers","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_projects_project_id_webhooks_webhook_id_headers","summary":"Update Webhook Headers","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookHeadersSchema"}}}}}},"/v0/metrics/email-daily":{"get":{"operationId":"get__v0_metrics_email_daily","summary":"GET /v0/metrics/email-daily","tags":["metrics"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/metrics/email-daily":{"get":{"operationId":"get__v0_projects_project_id_metrics_email_daily","summary":"GET /v0/projects/{project_id}/metrics/email-daily","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/metrics/events":{"get":{"operationId":"get__v0_metrics_events","summary":"Query Events","tags":["metrics"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/metrics/usage":{"get":{"operationId":"get__v0_metrics_usage","summary":"Query Usage","tags":["metrics"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/metrics/events":{"get":{"operationId":"get__v0_projects_project_id_metrics_events","summary":"Query Events","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/metrics/usage":{"get":{"operationId":"get__v0_projects_project_id_metrics_usage","summary":"Query Usage","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/metrics/events":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_metrics_events","summary":"Query Events","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/metrics/usage":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_metrics_usage","summary":"Query Usage","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/events":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_events","summary":"List Inbox Events","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/api-keys":{"get":{"operationId":"get__v0_api_keys","summary":"List API Keys","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"api_keys":{"type":"array","items":{"$ref":"#/components/schemas/ApiKey"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_api_keys","summary":"Create API Key","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyV0Schema"}}}}}},"/v0/api-keys/{api_key_id}":{"delete":{"operationId":"delete__v0_api_keys_api_key_id_","summary":"Delete API Key","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/api-keys":{"get":{"operationId":"get__v0_projects_project_id_api_keys","summary":"List API Keys","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"api_keys":{"type":"array","items":{"$ref":"#/components/schemas/ApiKey"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_projects_project_id_api_keys","summary":"Create API Key","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyV0Schema"}}}}}},"/v0/projects/{project_id}/api-keys/{api_key_id}":{"delete":{"operationId":"delete__v0_projects_project_id_api_keys_api_key_id_","summary":"Delete API Key","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/api-keys":{"get":{"operationId":"get__v0_emails_inboxes_inbox_id_api_keys","summary":"List API Keys","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"api_keys":{"type":"array","items":{"$ref":"#/components/schemas/ApiKey"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_emails_inboxes_inbox_id_api_keys","summary":"Create API Key","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyV0Schema"}}}}}},"/v0/emails/inboxes/{inbox_id}/api-keys/{api_key_id}":{"delete":{"operationId":"delete__v0_emails_inboxes_inbox_id_api_keys_api_key_id_","summary":"Delete API Key","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/api-keys/browser-consents":{"get":{"operationId":"get__v0_api_keys_browser_consents","summary":"List Browser Consents","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/api-keys/browser-consents/{consent_id}":{"delete":{"operationId":"delete__v0_api_keys_browser_consents_consent_id_","summary":"Delete Browser Consent","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"consent_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/emails/inboxes/{inbox_id}/browser-credentials/enrollments":{"post":{"operationId":"post__v0_emails_inboxes_inbox_id_browser_credentials_enrollments","summary":"Create Browser Enrollment","tags":["emails"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/api-keys/browser-credentials":{"get":{"operationId":"get__v0_api_keys_browser_credentials","summary":"List Browser Credentials","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/api-keys/browser-credentials/{credential_id}":{"delete":{"operationId":"delete__v0_api_keys_browser_credentials_credential_id_","summary":"Delete Browser Credential","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/api-keys/browser-credentials/enrollments/{enrollment_id}":{"delete":{"operationId":"delete__v0_api_keys_browser_credentials_enrollments_enrollment_id_","summary":"Cancel Browser Enrollment","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"enrollment_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/api-keys/browser-credentials/events":{"get":{"operationId":"get__v0_api_keys_browser_credentials_events","summary":"List Browser Credential Events","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/api-keys/public-keys":{"get":{"operationId":"get__v0_api_keys_public_keys","summary":"List Public-Key Credentials","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_api_keys_public_keys","summary":"Register Public-Key Credential","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/api-keys/public-keys/{api_key_id}":{"patch":{"operationId":"patch__v0_api_keys_public_keys_api_key_id_","summary":"Rename Public-Key Credential","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"delete__v0_api_keys_public_keys_api_key_id_","summary":"Revoke Public-Key Credential","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/api-keys/public-keys/agentid-sign-in/revoke-all":{"post":{"operationId":"post__v0_api_keys_public_keys_agentid_sign_in_revoke_all","summary":"Revoke All AgentID Sign-In Keys","tags":["api-keys"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects":{"get":{"operationId":"get__v0_projects","summary":"List Projects","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"projects":{"type":"array","items":{"$ref":"#/components/schemas/Project"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_projects","summary":"Create Project","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectV0Schema"}}}}}},"/v0/projects/{project_id}":{"get":{"operationId":"get__v0_projects_project_id_","summary":"Get Project","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"delete__v0_projects_project_id_","summary":"Delete Project","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/emails/inboxes":{"get":{"operationId":"get__v0_projects_project_id_emails_inboxes","summary":"List Inboxes","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"next_page_token":{"type":"string"},"inboxes":{"type":"array","items":{"$ref":"#/components/schemas/Inbox"}}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_projects_project_id_emails_inboxes","summary":"Create Inbox","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInboxV0Schema"}}}}}},"/v0/projects/{project_id}/emails/inboxes/{inbox_id}":{"get":{"operationId":"get__v0_projects_project_id_emails_inboxes_inbox_id_","summary":"Get Inbox","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_projects_project_id_emails_inboxes_inbox_id_","summary":"Update Inbox","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateInboxV0Schema"}}}}},"delete":{"operationId":"delete__v0_projects_project_id_emails_inboxes_inbox_id_","summary":"Delete Inbox","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/websockets":{"get":{"operationId":"get__v0_websockets","summary":"GET /v0/websockets","tags":["websockets"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/proxies/users":{"post":{"operationId":"post__v0_proxies_users","summary":"Create Proxy User","tags":["proxies"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Required on configured D1 deployments. Preserve for retries; use GET /v0/operations/{operation_id} to inspect uncertain outcomes.","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProxyUserV0Schema"}}}}},"get":{"operationId":"get__v0_proxies_users","summary":"List Proxy Users","tags":["proxies"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/proxies/users/{proxy_user_id}":{"get":{"operationId":"get__v0_proxies_users_proxy_user_id_","summary":"Get Proxy User","tags":["proxies"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"proxy_user_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/proxies/users/{proxy_user_id}/topup":{"post":{"operationId":"post__v0_proxies_users_proxy_user_id_topup","summary":"Top Up Proxy Traffic","tags":["proxies"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"proxy_user_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Required on configured D1 deployments. Preserve for retries; use GET /v0/operations/{operation_id} to inspect uncertain outcomes.","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupProxyUserV0Schema"}}}}}},"/v0/proxies/balance":{"get":{"operationId":"get__v0_proxies_balance","summary":"Pool Balance","tags":["proxies"],"security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/proxies/users":{"post":{"operationId":"post__v0_projects_project_id_proxies_users","summary":"POST /v0/projects/{project_id}/proxies/users","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Required on configured D1 deployments. Preserve for retries; use GET /v0/operations/{operation_id} to inspect uncertain outcomes.","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProxyUserV0Schema"}}}}},"get":{"operationId":"get__v0_projects_project_id_proxies_users","summary":"GET /v0/projects/{project_id}/proxies/users","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/proxies/users/{proxy_user_id}":{"get":{"operationId":"get__v0_projects_project_id_proxies_users_proxy_user_id_","summary":"GET /v0/projects/{project_id}/proxies/users/{proxy_user_id}","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"proxy_user_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/projects/{project_id}/proxies/users/{proxy_user_id}/topup":{"post":{"operationId":"post__v0_projects_project_id_proxies_users_proxy_user_id_topup","summary":"POST /v0/projects/{project_id}/proxies/users/{proxy_user_id}/topup","tags":["projects"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"proxy_user_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Required on configured D1 deployments. Preserve for retries; use GET /v0/operations/{operation_id} to inspect uncertain outcomes.","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupProxyUserV0Schema"}}}}}},"/v0/numbers/search":{"get":{"operationId":"get__v0_numbers_search","summary":"Search Numbers","tags":["numbers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/numbers":{"get":{"operationId":"get__v0_numbers","summary":"List Numbers","tags":["numbers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_numbers","summary":"Buy Number","tags":["numbers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Required with durable D1 storage for provider-backed phone mutations. Reuse the same key for the same exact action. Uncertain outcomes return reconciliation_required with operation_id; do not create a fresh key or blindly repeat a paid send.","schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}},"500":{"$ref":"#/components/responses/Error"},"503":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}}}}},"/v0/numbers/{number_id}/messages":{"get":{"operationId":"get__v0_numbers_number_id_messages","summary":"List Number Messages","tags":["numbers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"number_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/numbers/{number_id}/calls":{"get":{"operationId":"get__v0_numbers_number_id_calls","summary":"List Number Calls","tags":["numbers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"number_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/numbers/{number_id}":{"get":{"operationId":"get__v0_numbers_number_id_","summary":"Get Number","tags":["numbers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"number_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__v0_numbers_number_id_","summary":"Update Number","tags":["numbers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"number_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Required with durable D1 storage for provider-backed phone mutations. Reuse the same key for the same exact action. Uncertain outcomes return reconciliation_required with operation_id; do not create a fresh key or blindly repeat a paid send.","schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}},"500":{"$ref":"#/components/responses/Error"},"503":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}}}},"delete":{"operationId":"delete__v0_numbers_number_id_","summary":"Release Number","tags":["numbers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"number_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Required with durable D1 storage for provider-backed phone mutations. Reuse the same key for the same exact action. Uncertain outcomes return reconciliation_required with operation_id; do not create a fresh key or blindly repeat a paid send.","schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}},"500":{"$ref":"#/components/responses/Error"},"503":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}}}}},"/v0/sms/send":{"post":{"operationId":"post__v0_sms_send","summary":"Send SMS","tags":["sms"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Required with durable D1 storage for provider-backed phone mutations. Reuse the same key for the same exact action. Uncertain outcomes return reconciliation_required with operation_id; do not create a fresh key or blindly repeat a paid send.","schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}},"500":{"$ref":"#/components/responses/Error"},"503":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"text":{"type":"string"},"media_urls":{"type":"array","items":{"type":"string"}}},"required":["to","from","text"]}}}}}},"/v0/sms/conversations":{"get":{"operationId":"get__v0_sms_conversations","summary":"List SMS Conversations","tags":["sms"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/sms/conversations/{thread_id}":{"get":{"operationId":"get__v0_sms_conversations_thread_id_","summary":"Get SMS Conversation","tags":["sms"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/calls":{"post":{"operationId":"post__v0_calls","summary":"Dial Call","tags":["calls"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Required with durable D1 storage for provider-backed phone mutations. Reuse the same key for the same exact action. Uncertain outcomes return reconciliation_required with operation_id; do not create a fresh key or blindly repeat a paid send.","schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}},"500":{"$ref":"#/components/responses/Error"},"503":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"say":{"type":"string"},"voice":{"type":"boolean"},"purpose":{"type":"string","maxLength":1000},"max_duration_seconds":{"type":"integer","minimum":1,"maximum":120},"stream_url":{"type":"string","format":"uri"}},"required":["to","from"]}}}}},"get":{"operationId":"get__v0_calls","summary":"List Calls","tags":["calls"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/calls/{call_id}":{"get":{"operationId":"get__v0_calls_call_id_","summary":"Get Call","tags":["calls"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"call_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/calls/{call_id}/actions":{"post":{"operationId":"post__v0_calls_call_id_actions","summary":"Call Action","tags":["calls"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"call_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Required with durable D1 storage for provider-backed phone mutations. Reuse the same key for the same exact action. Uncertain outcomes return reconciliation_required with operation_id; do not create a fresh key or blindly repeat a paid send.","schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}},"500":{"$ref":"#/components/responses/Error"},"503":{"description":"Idempotency conflict or unfinished provider action requiring reconciliation","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"operation_id":{"type":"string"},"provider_reference":{"type":"object"}}}}}}}}},"/v0/containers":{"get":{"operationId":"get__v0_containers","summary":"List Containers","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__v0_containers","summary":"Create Container","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Required on configured D1 deployments. Preserve for retries; use GET /v0/operations/{operation_id} to inspect uncertain outcomes.","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"image":{"type":"string"}},"required":["name"]}}}}}},"/v0/containers/{container_id}/stop":{"post":{"operationId":"post__v0_containers_container_id_stop","summary":"Stop Container","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Required on configured D1 deployments. Preserve for retries; use GET /v0/operations/{operation_id} to inspect uncertain outcomes.","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/v0/containers/{container_id}/resume":{"post":{"operationId":"post__v0_containers_container_id_resume","summary":"Resume Container","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Required on configured D1 deployments. Preserve for retries; use GET /v0/operations/{operation_id} to inspect uncertain outcomes.","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/v0/containers/{container_id}/files":{"post":{"operationId":"post__v0_containers_container_id_files","summary":"Upload Container File","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"get":{"operationId":"get__v0_containers_container_id_files","summary":"Download Container File","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/containers/{container_id}/ports":{"post":{"operationId":"post__v0_containers_container_id_ports","summary":"Publish Container Port","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}},"get":{"operationId":"get__v0_containers_container_id_ports","summary":"List Container Ports","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/containers/{container_id}/shell":{"post":{"operationId":"post__v0_containers_container_id_shell","summary":"Open Container Shell","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/containers/{container_id}/runs":{"post":{"operationId":"post__v0_containers_container_id_runs","summary":"Run Command in Container","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"command":{"type":"string"},"timeout_seconds":{"type":"integer"}},"required":["command"]}}}}},"get":{"operationId":"get__v0_containers_container_id_runs","summary":"List Container Runs","tags":["containers"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"name":"page_token","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}}}},"/v0/telnyx/webhooks":{"post":{"operationId":"post__v0_telnyx_webhooks","summary":"POST /v0/telnyx/webhooks","tags":["telnyx"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"500":{"$ref":"#/components/responses/Error"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookV0Schema"}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"},"stripeSignature":{"type":"apiKey","in":"header","name":"stripe-signature"},"browserSessionToken":{"type":"apiKey","in":"query","name":"token","description":"Expiring capability returned by POST /v0/browsers/sessions/{session_id}/connect; scoped to one session."}},"schemas":{"Inbox":{"type":"object","properties":{"inbox_id":{"type":"string"},"project_id":{"type":"string"},"email":{"type":"string","format":"email"},"display_name":{"type":"string"},"metadata":{"type":"object"},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"additionalProperties":true},"Project":{"type":"object","properties":{"project_id":{"type":"string"},"name":{"type":"string"},"client_id":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"additionalProperties":true},"Attachment":{"type":"object","properties":{"attachment_id":{"type":"string"},"filename":{"type":"string"},"content_type":{"type":"string"},"size":{"type":"integer"},"download_url":{"type":"string"}},"additionalProperties":true},"Message":{"type":"object","properties":{"message_id":{"type":"string"},"inbox_id":{"type":"string"},"thread_id":{"type":"string"},"from":{"type":"string"},"to":{"type":"array","items":{"type":"string"}},"cc":{"type":"array","items":{"type":"string"}},"bcc":{"type":"array","items":{"type":"string"}},"subject":{"type":"string"},"text":{"type":"string"},"html":{"type":"string"},"status":{"type":"string"},"labels":{"type":"array","items":{"type":"string"}},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/Attachment"}},"timestamp":{"type":"string"}},"additionalProperties":true},"Draft":{"type":"object","properties":{"draft_id":{"type":"string"},"inbox_id":{"type":"string"},"to":{"type":"array","items":{"type":"string"}},"cc":{"type":"array","items":{"type":"string"}},"bcc":{"type":"array","items":{"type":"string"}},"reply_to":{"type":"array","items":{"type":"string"}},"subject":{"type":"string"},"text":{"type":"string"},"html":{"type":"string"},"labels":{"type":"array","items":{"type":"string"}},"send_status":{"type":"string"},"send_at":{"type":"string"},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/Attachment"}},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"additionalProperties":true},"Thread":{"type":"object","properties":{"thread_id":{"type":"string"},"inbox_id":{"type":"string"},"labels":{"type":"array","items":{"type":"string"}},"subject":{"type":"string"},"preview":{"type":"string"},"message_count":{"type":"integer"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}},"additionalProperties":true},"ApiKey":{"type":"object","properties":{"api_key_id":{"type":"string"},"api_key":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"permissions":{"type":"object","additionalProperties":{"type":"boolean"}},"project_id":{"type":"string"},"inbox_id":{"type":"string"},"created_at":{"type":"string"}},"additionalProperties":true},"Domain":{"type":"object","properties":{"domain_id":{"type":"string"},"project_id":{"type":"string"},"domain":{"type":"string"},"status":{"type":"string"},"reason":{"type":"string"},"records":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"host":{"type":"string"},"value":{"type":"string"},"purpose":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true},"Webhook":{"type":"object","properties":{"webhook_id":{"type":"string"},"url":{"type":"string","format":"uri"},"secret":{"type":"string"},"event_types":{"type":"array","items":{"type":"string"}},"project_ids":{"type":"array","items":{"type":"string"}},"inbox_ids":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"additionalProperties":true},"BrowserSession":{"type":"object","properties":{"session_id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["running","ended","unavailable"]},"started_at":{"type":"string","format":"date-time"},"ended_at":{"type":"string","format":"date-time"},"idle_timeout_ms":{"type":"integer"}},"additionalProperties":true},"BrowserSessionAccess":{"type":"object","properties":{"session_id":{"type":"string"},"live_view_url":{"type":"string","format":"uri"},"connect_url":{"type":"string","format":"uri"},"access_expires_at":{"type":"string","format":"date-time"}},"additionalProperties":true},"AgentRegisterSchema":{"type":"object","additionalProperties":false,"required":["username"],"properties":{"username":{"type":"string","minLength":3,"maxLength":40,"pattern":"^[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?$","description":"Agent label, normalized to lowercase. Start and end with a letter or digit. The assigned email includes a unique suffix; a label does not reserve an exact email address."}}},"AgentSignupSchema":{"type":"object","properties":{"human_email":{"type":"string","format":"email"},"username":{"type":"string","minLength":1,"maxLength":64},"source":{"type":"string","maxLength":2048},"referrer":{"type":"string","maxLength":2048}},"required":["human_email","username"]},"AgentVerifySchema":{"type":"object","properties":{"otp_code":{"type":"string","maxLength":6,"minLength":6}},"required":["otp_code"]},"BatchGetV0Schema":{"type":"object","properties":{"email_ids":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":100}},"required":["email_ids"]},"BatchUpdateV0Schema":{"type":"object","properties":{"email_ids":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":100},"add_labels":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"remove_labels":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"required":["email_ids"]},"CreateApiKeyV0Schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128},"permissions":{"type":"object","additionalProperties":{"type":"boolean"}}},"required":["name"],"additionalProperties":false},"CreateDomainSchema":{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":253}},"required":["domain"]},"CreateDomainV0Schema":{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":253},"feedback_enabled":{"type":"boolean"},"subdomains_enabled":{"type":"boolean"},"tracking_enabled":{"type":"boolean"}},"required":["domain"]},"CreateDraftV0Schema":{"type":"object","properties":{"labels":{"type":"array","items":{"type":"string"}},"reply_to":{"type":"array","items":{"type":"string"}},"to":{"type":"array","items":{"type":"string","format":"email"}},"cc":{"type":"array","items":{"type":"string","format":"email"}},"bcc":{"type":"array","items":{"type":"string","format":"email"}},"subject":{"type":"string","maxLength":998},"text":{"type":"string"},"html":{"type":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":"string"},"content_disposition":{"type":"string"},"content_id":{"type":"string"},"content":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"maxItems":20},"in_reply_to":{"type":"string"},"forward_of":{"type":"string"},"reply_all":{"type":"boolean"},"send_at":{"type":"string","format":"date-time"},"client_id":{"type":"string","maxLength":256}},"required":[]},"CreateInboxSchema":{"type":"object","properties":{"displayName":{"type":"string","minLength":1,"maxLength":80},"domain":{"type":"string","minLength":3,"maxLength":253},"webhookUrl":{"type":"string","format":"uri"}},"required":["displayName"]},"CreateInboxV0Schema":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":64},"domain":{"type":"string","minLength":3,"maxLength":253},"display_name":{"type":"string","maxLength":256},"client_id":{"type":"string","maxLength":256},"metadata":{"type":"object","additionalProperties":{}}},"required":[]},"CreateListEntryV0Schema":{"type":"object","properties":{"entry":{"type":"string","minLength":1,"maxLength":320},"reason":{"type":"string","maxLength":1024}},"required":["entry"]},"CreateProjectV0Schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128},"client_id":{"type":"string","maxLength":256}},"required":["name"]},"CreateProxyUserV0Schema":{"type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":64,"pattern":"^[a-z0-9][a-z0-9_-]*$"},"password":{"type":"string","minLength":8,"maxLength":128},"threads":{"type":"integer","minimum":1,"maximum":1000},"sticky_days":{"type":"integer","minimum":0,"maximum":30},"traffic_mb":{"type":"number","minimum":0},"quota_mb":{"type":"number","minimum":0},"auto_refill":{"type":"boolean"},"low_threshold_mb":{"type":"number","minimum":0}},"required":[]},"CreatePublicKeySchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128},"jwk":{"type":"object","additionalProperties":{}},"scope":{"type":"string"}},"required":["name","jwk"]},"CreateWebhookSchema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string","enum":["email.received","email.sent","email.bounced"]},"minItems":1},"secret":{"type":"string","minLength":16,"maxLength":256}},"required":["url","events","secret"]},"CreateWebhookV0Schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"event_types":{"type":"array","items":{"type":"string","enum":["email.received","email.received.spam","email.received.blocked","email.received.unauthenticated","email.sent","email.delivered","email.bounced","email.complained","email.rejected","email.opened","domain.verified"]},"minItems":1},"client_id":{"type":"string","maxLength":256},"headers":{"type":"object","additionalProperties":{"type":"string"}},"inbox_ids":{"type":"array","items":{"type":"string"}},"project_ids":{"type":"array","items":{"type":"string"}}},"required":["url","event_types"]},"EmailSchema":{"type":"string","format":"email","maxLength":320},"EntryTypeSchema":{"type":"string","enum":["email","domain"]},"ErrorSchema":{"type":"object","properties":{"name":{"type":"string"},"code":{"type":"string"},"message":{"type":"string"},"fix":{"type":"string"},"docs":{"type":"string"}},"required":["name","message"]},"EventTypeSchema":{"type":"string","enum":["email.received","email.received.spam","email.received.blocked","email.received.unauthenticated","email.sent","email.delivered","email.bounced","email.complained","email.rejected","email.opened","domain.verified"]},"ForwardV0Schema":{"type":"object","properties":{"text":{"type":"string"},"html":{"type":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":"string"},"content_disposition":{"type":"string"},"content_id":{"type":"string"},"content":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"maxItems":20},"headers":{"type":"object","additionalProperties":{"type":"string"}},"reply_to":{"type":"array","items":{"type":"string"}},"track_opens":{"type":"boolean"},"to":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":50}},"required":["to"]},"IdSchema":{"type":"string","minLength":1,"maxLength":64},"InboundEmailSchema":{"type":"object","properties":{"from":{"type":"string","format":"email"},"to":{"type":"array","items":{"type":"string","format":"email"},"minItems":1},"subject":{"type":"string","maxLength":998},"text":{"type":"string"},"html":{"type":"string"},"messageId":{"type":"string"},"inReplyTo":{"type":"string"}},"required":["from","to"]},"InboxSchema":{"type":"object","properties":{"id":{"type":"string"},"address":{"type":"string","format":"email"},"displayName":{"type":"string"},"domain":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"createdAt":{"type":"string"}},"required":["id","address","displayName","domain","status","createdAt"]},"ListDirectionSchema":{"type":"string","enum":["send","receive","reply"]},"ListTypeSchema":{"type":"string","enum":["allow","block"]},"MessageSchema":{"type":"object","properties":{"id":{"type":"string"},"inboxId":{"type":"string"},"threadId":{"type":"string"},"from":{"type":"string"},"to":{"type":"array","items":{"type":"string"}},"subject":{"type":"string"},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"direction":{"type":"string","enum":["inbound","outbound"]},"status":{"type":"string","enum":["queued","sent","delivered","bounced","received"]},"createdAt":{"type":"string"}},"required":["id","inboxId","threadId","from","to","subject","text","direction","status","createdAt"]},"PermissionsSchema":{"type":"object","additionalProperties":{"type":"boolean"}},"ReplyV0Schema":{"type":"object","properties":{"text":{"type":"string"},"html":{"type":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":"string"},"content_disposition":{"type":"string"},"content_id":{"type":"string"},"content":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"maxItems":20},"headers":{"type":"object","additionalProperties":{"type":"string"}},"reply_to":{"type":"array","items":{"type":"string"}},"track_opens":{"type":"boolean"}},"required":[]},"SendAttachmentSchema":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":"string"},"content_disposition":{"type":"string"},"content_id":{"type":"string"},"content":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"SendEmailSchema":{"type":"object","properties":{"inboxId":{"type":"string","minLength":1},"to":{"type":"array","items":{"type":"string","format":"email"},"minItems":1,"maxItems":50},"cc":{"type":"array","items":{"type":"string","format":"email"},"maxItems":50},"subject":{"type":"string","minLength":1,"maxLength":998},"text":{"type":"string","maxLength":1000000},"html":{"type":"string","maxLength":2000000},"threadId":{"type":"string"},"idempotencyKey":{"type":"string","maxLength":128}},"required":["inboxId","to","subject"]},"SendMessageV0Schema":{"type":"object","properties":{"labels":{"type":"array","items":{"type":"string"}},"reply_to":{"type":"array","items":{"type":"string"}},"to":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":50},"cc":{"type":"array","items":{"type":"string"},"maxItems":50},"bcc":{"type":"array","items":{"type":"string"},"maxItems":50},"subject":{"type":"string","maxLength":998},"text":{"type":"string"},"html":{"type":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":"string"},"content_disposition":{"type":"string"},"content_id":{"type":"string"},"content":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"maxItems":20},"headers":{"type":"object","additionalProperties":{"type":"string"}},"track_opens":{"type":"boolean"}},"required":["to"]},"TopupProxyUserV0Schema":{"type":"object","properties":{"mb":{"type":"number"}},"required":["mb"]},"TraceBatchSchema":{"type":"object","properties":{"version":{"const":1},"trace_id":{"type":"string","pattern":"^tr_[a-f0-9]{32}$"},"conversation_id":{"type":"string","pattern":"^cv_[a-f0-9]{32}$"},"turn_id":{"type":"string","pattern":"^tu_[a-f0-9]{32}$"},"channel":{"type":"string","enum":["imessage","whatsapp","voice","web","email","api"]},"source":{"type":"string","enum":["agent","api","photon"]},"started_at":{"type":"string","format":"date-time"},"outcome":{"type":"string","enum":["running","completed","failed","cancelled","pending","denied","uncertain"]},"parent_trace_id":{"type":"string","pattern":"^tr_[a-f0-9]{32}$"},"links":{"type":"object","properties":{"approval_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"operation_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"call_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"provider_request_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"delivery_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"}},"required":[]},"events":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"string","pattern":"^ev_[a-f0-9]{32}$"},"span_id":{"type":"string","pattern":"^sp_[a-f0-9]{32}$"},"parent_span_id":{"type":"string","pattern":"^sp_[a-f0-9]{32}$"},"sequence":{"type":"integer","minimum":0,"maximum":10000},"stage":{"type":"string","enum":["turn","ingress","queue","context","model","tool","approval","api","provider","delivery","callback"]},"name":{"type":"string","minLength":1,"maxLength":100},"status":{"type":"string","enum":["started","completed","failed","cancelled","pending","denied","uncertain","replayed"]},"at":{"type":"string","format":"date-time"},"duration_ms":{"type":"number","minimum":0,"maximum":86400000},"metadata":{"type":"object","additionalProperties":{}},"content":{},"usage":{"type":"object","properties":{"input_tokens":{"type":"integer","minimum":0},"output_tokens":{"type":"integer","minimum":0},"total_tokens":{"type":"integer","minimum":0},"cached_input_tokens":{"type":"integer","minimum":0}},"required":[]},"cost":{"type":"object","properties":{"amount_micros":{"type":"integer","minimum":0},"currency":{"type":"string","pattern":"^[a-z]{3}$"},"source":{"type":"string","maxLength":80}},"required":["amount_micros","currency","source"]},"links":{"type":"object","properties":{"approval_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"operation_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"call_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"provider_request_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"delivery_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"}},"required":[]}},"required":["event_id","span_id","sequence","stage","name","status","at"]},"maxItems":128},"truncated":{"type":"boolean"}},"required":["version","trace_id","conversation_id","turn_id","channel","source","started_at","outcome","events","truncated"]},"TraceChannelSchema":{"type":"string","enum":["imessage","whatsapp","voice","web","email","api"]},"TraceEventSchema":{"type":"object","properties":{"event_id":{"type":"string","pattern":"^ev_[a-f0-9]{32}$"},"span_id":{"type":"string","pattern":"^sp_[a-f0-9]{32}$"},"parent_span_id":{"type":"string","pattern":"^sp_[a-f0-9]{32}$"},"sequence":{"type":"integer","minimum":0,"maximum":10000},"stage":{"type":"string","enum":["turn","ingress","queue","context","model","tool","approval","api","provider","delivery","callback"]},"name":{"type":"string","minLength":1,"maxLength":100},"status":{"type":"string","enum":["started","completed","failed","cancelled","pending","denied","uncertain","replayed"]},"at":{"type":"string","format":"date-time"},"duration_ms":{"type":"number","minimum":0,"maximum":86400000},"metadata":{"type":"object","additionalProperties":{}},"content":{},"usage":{"type":"object","properties":{"input_tokens":{"type":"integer","minimum":0},"output_tokens":{"type":"integer","minimum":0},"total_tokens":{"type":"integer","minimum":0},"cached_input_tokens":{"type":"integer","minimum":0}},"required":[]},"cost":{"type":"object","properties":{"amount_micros":{"type":"integer","minimum":0},"currency":{"type":"string","pattern":"^[a-z]{3}$"},"source":{"type":"string","maxLength":80}},"required":["amount_micros","currency","source"]},"links":{"type":"object","properties":{"approval_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"operation_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"call_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"provider_request_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"delivery_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"}},"required":[]}},"required":["event_id","span_id","sequence","stage","name","status","at"]},"TraceLinksSchema":{"type":"object","properties":{"approval_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"operation_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"call_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"provider_request_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"},"delivery_id":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[a-zA-Z0-9_:.\\/-]+$"}},"required":[]},"TraceOutcomeSchema":{"type":"string","enum":["running","completed","failed","cancelled","pending","denied","uncertain"]},"UpdateDomainV0Schema":{"type":"object","properties":{"feedback_enabled":{"type":"boolean"},"subdomains_enabled":{"type":"boolean"},"tracking_enabled":{"type":"boolean"}},"required":[]},"UpdateDraftV0Schema":{"type":"object","properties":{"reply_to":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"to":{"anyOf":[{"type":"array","items":{"type":"string","format":"email"}},{"type":"null"}]},"cc":{"anyOf":[{"type":"array","items":{"type":"string","format":"email"}},{"type":"null"}]},"bcc":{"anyOf":[{"type":"array","items":{"type":"string","format":"email"}},{"type":"null"}]},"subject":{"anyOf":[{"type":"string","maxLength":998},{"type":"null"}]},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"html":{"anyOf":[{"type":"string"},{"type":"null"}]},"add_attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":"string"},"content_disposition":{"type":"string"},"content_id":{"type":"string"},"content":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":[]},"maxItems":20},"remove_attachments":{"type":"array","items":{"type":"string"}},"add_labels":{"type":"array","items":{"type":"string"}},"remove_labels":{"type":"array","items":{"type":"string"}},"send_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":[]},"UpdateInboxV0Schema":{"type":"object","properties":{"display_name":{"type":"string","maxLength":256},"metadata":{"anyOf":[{"type":"object","additionalProperties":{}},{"type":"null"}]}},"required":[]},"UpdateMessageV0Schema":{"type":"object","properties":{"add_labels":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"remove_labels":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"required":[]},"UpdateThreadV0Schema":{"type":"object","properties":{"add_labels":{"type":"array","items":{"type":"string"}},"remove_labels":{"type":"array","items":{"type":"string"}}},"required":[]},"UpdateWebhookHeadersSchema":{"type":"object","properties":{"set":{"type":"object","additionalProperties":{"type":"string"}},"remove":{"type":"array","items":{"type":"string"}}},"required":[]},"UpdateWebhookV0Schema":{"type":"object","properties":{"event_types":{"type":"array","items":{"type":"string","enum":["email.received","email.received.spam","email.received.blocked","email.received.unauthenticated","email.sent","email.delivered","email.bounced","email.complained","email.rejected","email.opened","domain.verified"]},"minItems":1},"add_inbox_ids":{"type":"array","items":{"type":"string"}},"remove_inbox_ids":{"type":"array","items":{"type":"string"}},"add_project_ids":{"type":"array","items":{"type":"string"}},"remove_project_ids":{"type":"array","items":{"type":"string"}}},"required":[]},"UsageTypeSchema":{"type":"string","enum":["storage_bytes","email_count","thread_count","inbox_count","project_count","domain_count","container_count","container_seconds","number_count","sms_count","call_count","call_seconds","email_sent_count","email_received_count","proxy_count","proxy_traffic_mb"]}},"responses":{"Error":{"description":"API error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}}}}