Samaya AI · OpenAPI Overlay 1.0.0

API Evangelist enhancements for the Samaya Public API

6 actions 6 updates servers extends ../openapi/samaya-ai-public-api-openapi.json
Derived by API Evangelist Built from the contracts Samaya AI publishes. Samaya AI did not publish this file.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-notedescriptionx-partial-successx-agentic-accesscontactx-status-pagex-trust-centerx-llms-txt

Targets 6

$.info
$
$.components.securitySchemes.WorkOsM2MAuth
$.paths['/v1/orgs/{org_id}/teams/{team_id}/members'].post
$.paths['/v1/orgs/{org_id}/teams/{team_id}/members'].delete
$.paths['/v1/orgs/{org_id}/teams'].get

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enhancements for the Samaya Public API
  version: 1.0.0
extends: ../openapi/samaya-ai-public-api-openapi.json
x-generated: '2026-08-26'
x-method: generated
x-source: >-
  Derived from the verbatim spec at https://api.samaya.ai/v1/openapi.json plus probes recorded in
  security/samaya-ai-domain-security.yml and lifecycle/samaya-ai-lifecycle.yml. Adds only facts
  observed on Samaya's own surface; the original spec is never mutated.
actions:
- target: $.info
  update:
    description: >-
      Administrative REST API for Samaya AI tenants. Covers organization, team and team-membership
      provisioning plus organization user listing. This is the provisioning surface — Samaya's
      financial-research capability is exposed separately through the OAuth-protected MCP server at
      https://mcp.samaya.ai/mcp.
    contact:
      name: Samaya AI
      url: https://samaya.ai/
      email: hello@samaya.ai
    x-status-page: https://status.samaya.ai/
    x-trust-center: https://trust.samaya.ai/
    x-llms-txt: https://samaya.ai/llms.txt
- target: $
  update:
    servers:
    - url: https://api.samaya.ai
      description: >-
        Production. Added by overlay — the published document declares no servers[] block at all, so
        a generated client has no base URL. Confirmed by fetching the spec from this host and by the
        repair-api-bases reconciliation (verdict ok).
- target: $.components.securitySchemes.WorkOsM2MAuth
  update:
    description: >-
      WorkOS machine-to-machine bearer token. Sent as Authorization: Bearer <token>. Scope is the
      authenticated customer; List Orgs returns only organizations under that customer.
    bearerFormat: JWT
    x-bearer-format-note: >-
      Inferred from the WorkOS M2M product, NOT declared by Samaya. Treat as opaque.
- target: $.paths['/v1/orgs/{org_id}/teams/{team_id}/members'].post
  update:
    x-partial-success: true
    x-agentic-access:
      action_class: write
      consequence: reversible
      reversal: DELETE /v1/orgs/{org_id}/teams/{team_id}/members
      reversal_window: unstated
    x-note: >-
      Returns HTTP 200 even when some members fail. Always read errors[]; a 200 is not a
      whole-request success.
- target: $.paths['/v1/orgs/{org_id}/teams/{team_id}/members'].delete
  update:
    x-partial-success: true
    x-agentic-access:
      action_class: write
      consequence: reversible
      reversal: POST /v1/orgs/{org_id}/teams/{team_id}/members
      reversal_window: unstated
    x-note: >-
      Re-adding a removed member does not restore their prior role — MemberEntry.role defaults to
      MEMBER. Capture the role from List Team Members before removing.
- target: $.paths['/v1/orgs/{org_id}/teams'].get
  update:
    x-note: >-
      Check TeamOut.is_customer_modifiable before attempting any membership write on a team.

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/samaya-ai-public-api-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.