{"openapi":"3.1.0","info":{"title":"Oriv AI API","description":"Operate Oriv CRM, Invoices, Deals, Contacts, Tasks, and Memory directly from ChatGPT. (30 operations loaded)","version":"1.0.0"},"servers":[{"url":"https://oriv-ai.com"}],"paths":{"/api/tools/contacts_list_contacts":{"post":{"operationId":"contacts_list_contacts","summary":"List contacts for a tenant, with optional search/tag filters.","description":"List contacts for a tenant, with optional search/tag filters.","tags":["Contacts"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"search":{"type":"string"},"tag":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}}}},"/api/tools/contacts_create_contact":{"post":{"operationId":"contacts_create_contact","summary":"Create a new CRM contact.","description":"Create a new CRM contact.","tags":["Contacts"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"company":{"type":"string"},"gstin":{"type":"string"},"tags":{"type":"string"},"source":{"type":"string"},"notes":{"type":"string"},"company_id":{"type":"string"},"type":{"type":"string"},"lifecycle_stage":{"type":"string"},"currency":{"type":"string"}},"required":["name"]}}}}}},"/api/tools/contacts_get_contact":{"post":{"operationId":"contacts_get_contact","summary":"Get a single contact by ID.","description":"Get a single contact by ID.","tags":["Contacts"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contact_id":{"type":"string"}},"required":["contact_id"]}}}}}},"/api/tools/contacts_update_contact":{"post":{"operationId":"contacts_update_contact","summary":"Update an existing contact. Pass only the fields to change.","description":"Update an existing contact. Pass only the fields to change.","tags":["Contacts"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contact_id":{"type":"string"},"fields":{"type":"object","description":"Fields to set, as an object (e.g. {\"stage\": \"proposal\", \"notes\": \"...\"}).","additionalProperties":true}},"required":["contact_id"]}}}}}},"/api/tools/companies_list_companies":{"post":{"operationId":"companies_list_companies","summary":"List companies for a tenant, with optional name/domain search and type filter.","description":"List companies for a tenant, with optional name/domain search and type filter.","tags":["Companies"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"search":{"type":"string"},"type":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}}}},"/api/tools/companies_get_company":{"post":{"operationId":"companies_get_company","summary":"Get a single company by ID.","description":"Get a single company by ID.","tags":["Companies"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"company_id":{"type":"string"}},"required":["company_id"]}}}}}},"/api/tools/companies_create_company":{"post":{"operationId":"companies_create_company","summary":"Create a new company. Accepts any of the standard company fields.","description":"Create a new company. Accepts any of the standard company fields.","tags":["Companies"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"fields":{"type":"object","description":"Fields to set, as an object (e.g. {\"stage\": \"proposal\", \"notes\": \"...\"}).","additionalProperties":true}},"required":["name"]}}}}}},"/api/tools/deals_list_deals":{"post":{"operationId":"deals_list_deals","summary":"List deals for a tenant with optional stage/owner filters.","description":"List deals for a tenant with optional stage/owner filters.","tags":["Deals"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"stage":{"type":"string"},"owner_id":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}}}},"/api/tools/deals_create_deal":{"post":{"operationId":"deals_create_deal","summary":"Create a new deal.","description":"Create a new deal.","tags":["Deals"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"stage":{"type":"string"},"value":{"type":"number"},"contact_id":{"type":"string"},"expected_close":{"type":"string"},"notes":{"type":"string"},"owner_uid":{"type":"string"},"sales_rep_id":{"type":"string"}},"required":["name"]}}}}}},"/api/tools/deals_get_deal":{"post":{"operationId":"deals_get_deal","summary":"Get a single deal by ID.","description":"Get a single deal by ID.","tags":["Deals"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"deal_id":{"type":"string"}},"required":["deal_id"]}}}}}},"/api/tools/invoices_list_invoices":{"post":{"operationId":"invoices_list_invoices","summary":"List invoices for a tenant.","description":"List invoices for a tenant.","tags":["Invoices"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}}}},"/api/tools/invoices_create_invoice":{"post":{"operationId":"invoices_create_invoice","summary":"Create a new invoice with deterministic, jurisdiction-aware tax calc.","description":"Create a new invoice with deterministic, jurisdiction-aware tax calc.","tags":["Invoices"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"}},"gst_rate":{"type":"number"},"is_interstate":{"type":"boolean"},"contact_id":{"type":"string"},"deal_id":{"type":"string"},"due_date":{"type":"string"},"notes":{"type":"string"},"owner_uid":{"type":"string"},"preview":{"type":"boolean"}},"required":["items"]}}}}}},"/api/tools/invoices_get_invoice":{"post":{"operationId":"invoices_get_invoice","summary":"Get a single invoice by ID.","description":"Get a single invoice by ID.","tags":["Invoices"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"invoice_id":{"type":"string"}},"required":["invoice_id"]}}}}}},"/api/tools/projects_list_projects":{"post":{"operationId":"projects_list_projects","summary":"List projects for the current tenant.","description":"List projects for the current tenant.","tags":["Projects"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"contact_id":{"type":"string"},"deal_id":{"type":"string"},"search":{"type":"string"},"deal_won_only":{"type":"boolean"}}}}}}}},"/api/tools/projects_create_project":{"post":{"operationId":"projects_create_project","summary":"Create a new project.","description":"Create a new project.","tags":["Projects"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"contact_id":{"type":"string"},"deal_id":{"type":"string"},"budget":{"type":"number"},"currency":{"type":"string"},"start_date":{"type":"string"},"due_date":{"type":"string"},"custom_fields":{"type":"string"},"tags":{"type":"string"},"owner_uid":{"type":"string"}},"required":["name"]}}}}}},"/api/tools/projects_get_project":{"post":{"operationId":"projects_get_project","summary":"Get project details.","description":"Get project details.","tags":["Projects"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"project_id":{"type":"string"}},"required":["project_id"]}}}}}},"/api/tools/project_planner_plan_project":{"post":{"operationId":"project_planner_plan_project","summary":"Draft a project plan (tasks + milestones) from a free-text goal.","description":"Draft a project plan (tasks + milestones) from a free-text goal.","tags":["Project_planner"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"goal":{"type":"string"},"context":{"type":"string"}}}}}}}},"/api/tools/activities_create_activity":{"post":{"operationId":"activities_create_activity","summary":"Log a new activity (call/email/whatsapp/meeting/note/task).","description":"Log a new activity (call/email/whatsapp/meeting/note/task).","tags":["Activities"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"subject":{"type":"string"},"fields":{"type":"object","description":"Fields to set, as an object (e.g. {\"stage\": \"proposal\", \"notes\": \"...\"}).","additionalProperties":true}},"required":["type"]}}}}}},"/api/tools/activities_list_activities":{"post":{"operationId":"activities_list_activities","summary":"List activities for a tenant, optionally scoped to a linked record.","description":"List activities for a tenant, optionally scoped to a linked record.","tags":["Activities"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"contact_id":{"type":"string"},"company_id":{"type":"string"},"deal_id":{"type":"string"},"project_id":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}}}},"/api/tools/tickets_list_tickets":{"post":{"operationId":"tickets_list_tickets","summary":"List tickets for a tenant.","description":"List tickets for a tenant.","tags":["Tickets"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"priority":{"type":"string"},"assigned_to":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}}}},"/api/tools/tickets_create_ticket":{"post":{"operationId":"tickets_create_ticket","summary":"Create a new support ticket.","description":"Create a new support ticket.","tags":["Tickets"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subject":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"contact_id":{"type":"string"},"priority":{"type":"string"},"created_by":{"type":"string"}},"required":["subject"]}}}}}},"/api/tools/reminders_create_reminder":{"post":{"operationId":"reminders_create_reminder","summary":"Create a reminder. `due_at` is an ISO datetime string or datetime.","description":"Create a reminder. `due_at` is an ISO datetime string or datetime.","tags":["Reminders"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"due_at":{"type":"string"},"body":{"type":"string"},"channel":{"type":"string"},"entity_type":{"type":"string"},"entity_id":{"type":"string"},"owner_uid":{"type":"string"},"owner_id":{"type":"string"},"trigger_type":{"type":"string"},"source":{"type":"string"},"recurrence":{"type":"object"}},"required":["title","due_at"]}}}}}},"/api/tools/activities_complete_activity":{"post":{"operationId":"activities_complete_activity","summary":"Mark an activity done — stamps completed_at and status='done'.","description":"Mark an activity done — stamps completed_at and status='done'.","tags":["Activities"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"activity_id":{"type":"string"}},"required":["activity_id"]}}}}}},"/api/tools/activities_update_activity":{"post":{"operationId":"activities_update_activity","summary":"Update an activity. Pass only the fields to change.","description":"Update an activity. Pass only the fields to change.","tags":["Activities"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"activity_id":{"type":"string"},"fields":{"type":"object","description":"Fields to set, as an object (e.g. {\"stage\": \"proposal\", \"notes\": \"...\"}).","additionalProperties":true}},"required":["activity_id"]}}}}}},"/api/tools/analytics_calculate_oriv_score":{"post":{"operationId":"analytics_calculate_oriv_score","summary":"Recalculate and persist the Oriv score for a freelancer.","description":"Recalculate and persist the Oriv score for a freelancer.","tags":["Analytics"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"freelancer_id":{"type":"string"}},"required":["freelancer_id"]}}}}}},"/api/tools/analytics_client_payment_patterns":{"post":{"operationId":"analytics_client_payment_patterns","summary":"Analyze a contact's invoice payment history.","description":"Analyze a contact's invoice payment history.","tags":["Analytics"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"client_id":{"type":"string"}},"required":["client_id"]}}}}}},"/api/tools/analytics_deal_closing_patterns":{"post":{"operationId":"analytics_deal_closing_patterns","summary":"Analyze deal pipeline — avg time per stage, conversion rates, top performers.","description":"Analyze deal pipeline — avg time per stage, conversion rates, top performers.","tags":["Analytics"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}}}},"/api/tools/analytics_get_oriv_score":{"post":{"operationId":"analytics_get_oriv_score","summary":"Get individual freelancer score breakdown.","description":"Get individual freelancer score breakdown.","tags":["Analytics"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"freelancer_id":{"type":"string"}},"required":["freelancer_id"]}}}}}},"/api/tools/analytics_oriv_score_leaderboard":{"post":{"operationId":"analytics_oriv_score_leaderboard","summary":"Rank freelancers by composite Oriv score.","description":"Rank freelancers by composite Oriv score.","tags":["Analytics"],"x-openai-isConsequential":false,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer"}}}}}}}},"/api/tools/api_keys_create_new_api_key":{"post":{"operationId":"api_keys_create_new_api_key","summary":"Generate a new API key. The raw key is returned only once.","description":"Generate a new API key. The raw key is returned only once.","tags":["Api_keys"],"x-openai-isConsequential":true,"responses":{"200":{"description":"Successful tool response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string","description":"Operation output content"},"status":{"type":"string","description":"Status code or success flag"}}}}}},"401":{"description":"Unauthorized — invalid API Key"},"403":{"description":"Forbidden — insufficient permissions"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"expires_in_days":{"type":"integer"}},"required":["name"]}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Enter your Oriv API Key (e.g. oriv_live_...)"}},"schemas":{}},"security":[{"bearerAuth":[]}]}