Samaya AI Teams API

The Teams API from Samaya AI — 2 operation(s) for teams.

Operations 4

GET /v1/orgs/{org_id}/teams List Teams #
GET /v1/orgs/{org_id}/teams/{team_id}/members List Team Members #
POST /v1/orgs/{org_id}/teams/{team_id}/members Add Team Members #
DELETE /v1/orgs/{org_id}/teams/{team_id}/members Remove Team Members #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/samaya-ai-teams-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

samaya-ai-teams-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Samaya Public Teams API
  version: '1.0'
  description: ''
servers: null
tags:
- name: Teams
paths:
  /v1/orgs/{org_id}/teams:
    get:
      operationId: samaya_api_rest_views_teams_list_teams
      summary: List Teams
      parameters:
      - in: path
        name: org_id
        schema:
          title: Org Id
          type: integer
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamListResponse'
      description: List all teams in the organization (excludes 'My Documents' teams).
      tags:
      - Teams
      security:
      - WorkOsM2MAuth: []
  /v1/orgs/{org_id}/teams/{team_id}/members:
    get:
      operationId: samaya_api_rest_views_teams_list_team_members
      summary: List Team Members
      parameters:
      - in: path
        name: org_id
        schema:
          title: Org Id
          type: integer
        required: true
      - in: path
        name: team_id
        schema:
          title: Team Id
          type: integer
        required: true
      - in: query
        name: cursor
        schema:
          title: Cursor
          type: string
        required: false
      - in: query
        name: limit
        schema:
          title: Limit
          default: 100
          minimum: 1
          maximum: 500
          type: integer
        required: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedTeamMembersResponse'
      description: List members of a team with pagination.
      tags:
      - Teams
      security:
      - WorkOsM2MAuth: []
    post:
      operationId: samaya_api_rest_views_teams_add_team_members
      summary: Add Team Members
      parameters:
      - in: path
        name: org_id
        schema:
          title: Org Id
          type: integer
        required: true
      - in: path
        name: team_id
        schema:
          title: Team Id
          type: integer
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkAddResponse'
      description: Bulk add users to a team by email. Returns partial success.
      tags:
      - Teams
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddMembersRequest'
        required: true
      security:
      - WorkOsM2MAuth: []
    delete:
      operationId: samaya_api_rest_views_teams_remove_team_members
      summary: Remove Team Members
      parameters:
      - in: path
        name: org_id
        schema:
          title: Org Id
          type: integer
        required: true
      - in: path
        name: team_id
        schema:
          title: Team Id
          type: integer
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkRemoveResponse'
      description: Bulk remove users from a team by email. Returns partial success.
      tags:
      - Teams
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemoveMembersRequest'
        required: true
      security:
      - WorkOsM2MAuth: []
components:
  schemas:
    TeamListResponse:
      title: TeamListResponse
      type: object
      properties:
        teams:
          title: Teams
          type: array
          items:
            $ref: '#/components/schemas/TeamOut'
      required:
      - teams
    MemberError:
      title: MemberError
      type: object
      properties:
        email:
          title: Email
          type: string
        detail:
          title: Detail
          type: string
      required:
      - email
      - detail
    MemberEntry:
      title: MemberEntry
      type: object
      properties:
        email:
          title: Email
          type: string
        role:
          title: Role
          default: MEMBER
          type: string
      required:
      - email
    BulkRemoveResponse:
      title: BulkRemoveResponse
      type: object
      properties:
        removed:
          title: Removed
          type: array
          items:
            type: string
        errors:
          title: Errors
          type: array
          items:
            $ref: '#/components/schemas/MemberError'
      required:
      - removed
      - errors
    TeamMemberOut:
      title: TeamMemberOut
      type: object
      properties:
        email:
          title: Email
          type: string
        role:
          title: Role
          type: string
        is_active:
          title: Is Active
          type: boolean
      required:
      - email
      - role
      - is_active
    BulkAddResponse:
      title: BulkAddResponse
      type: object
      properties:
        added:
          title: Added
          type: array
          items:
            $ref: '#/components/schemas/AddedMember'
        errors:
          title: Errors
          type: array
          items:
            $ref: '#/components/schemas/MemberError'
      required:
      - added
      - errors
    AddMembersRequest:
      title: AddMembersRequest
      type: object
      properties:
        members:
          title: Members
          type: array
          items:
            $ref: '#/components/schemas/MemberEntry'
      required:
      - members
    RemoveMembersRequest:
      title: RemoveMembersRequest
      type: object
      properties:
        emails:
          title: Emails
          type: array
          items:
            type: string
      required:
      - emails
    AddedMember:
      title: AddedMember
      type: object
      properties:
        email:
          title: Email
          type: string
        role:
          title: Role
          type: string
      required:
      - email
      - role
    PaginatedTeamMembersResponse:
      title: PaginatedTeamMembersResponse
      type: object
      properties:
        data:
          title: Data
          type: array
          items:
            $ref: '#/components/schemas/TeamMemberOut'
        next_cursor:
          title: Next Cursor
          type: string
        has_more:
          title: Has More
          type: boolean
      required:
      - data
      - has_more
    TeamOut:
      title: TeamOut
      type: object
      properties:
        id:
          title: Id
          type: integer
        name:
          title: Name
          type: string
        is_customer_modifiable:
          title: Is Customer Modifiable
          type: boolean
      required:
      - id
      - name
      - is_customer_modifiable
  securitySchemes:
    WorkOsM2MAuth:
      type: http
      scheme: bearer