DataAssist-IO Teams API

The teams API from DataAssist-IO — 8 operation(s) for teams.

Operations 11

GET /api/teams/by-table/{table_id} List Teams For Table #
GET /api/teams/paginated List Teams Paginated #
GET /api/teams List Teams #
POST /api/teams Create Team #
GET /api/teams/{team_id} Get Team #
PUT /api/teams/{team_id} Update Team #
DELETE /api/teams/{team_id} Delete Team #
POST /api/teams/{team_id}/users Add Team Members #
DELETE /api/teams/{team_id}/users/{user_id} Remove Team Member #
POST /api/teams/{team_id}/tables Grant Team Tables #
DELETE /api/teams/{team_id}/tables/{table_id} Revoke Team Table #

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/dataassist-io:dataassist-io-teams-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

dataassist-io-teams-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DataAssist-IO Server Teams API
  version: 0.1.0
tags:
- name: Teams
paths:
  /api/teams/by-table/{table_id}:
    get:
      tags:
      - Teams
      summary: List Teams For Table
      description: 'Teams the given table is currently granted to.


        Mirrors the team-detail page''s `tables` list but inverted — lets the

        table-management UI show "which teams can see this table" without

        iterating every team. Cross-org safe: returns 404 if the table is

        not in the caller''s org.'
      operationId: list_teams_for_table_api_teams_by_table__table_id__get
      parameters:
      - name: table_id
        in: path
        required: true
        schema:
          type: integer
          title: Table Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/teams/paginated:
    get:
      tags:
      - Teams
      summary: List Teams Paginated
      description: 'Paginated + searchable teams list — drives the Teams admin page.


        Backend handles filter + LIMIT/OFFSET. Returns

        `{total, page, page_size, total_pages, teams: [...]}` with the same

        per-team shape as ``GET /api/teams``.'
      operationId: list_teams_paginated_api_teams_paginated_get
      parameters:
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Page
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Page Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/teams:
    get:
      tags:
      - Teams
      summary: List Teams
      description: 'List teams for the caller''s org with member + table counts.


        Returns the full array (no pagination) — used by dropdowns and

        lookup callers that need to know every team. The admin Teams page

        uses ``/paginated`` instead.'
      operationId: list_teams_api_teams_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    post:
      tags:
      - Teams
      summary: Create Team
      description: Create a new team. Slug is derived from name; collisions return 409.
      operationId: create_team_api_teams_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTeamRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/teams/{team_id}:
    get:
      tags:
      - Teams
      summary: Get Team
      description: Team detail with members + assigned tables.
      operationId: get_team_api_teams__team_id__get
      parameters:
      - name: team_id
        in: path
        required: true
        schema:
          type: integer
          title: Team Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Teams
      summary: Update Team
      description: Rename a team. Slug is regenerated; collisions return 409.
      operationId: update_team_api_teams__team_id__put
      parameters:
      - name: team_id
        in: path
        required: true
        schema:
          type: integer
          title: Team Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTeamRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Teams
      summary: Delete Team
      description: Delete a team. Cascades both team_users and team_tables junctions.
      operationId: delete_team_api_teams__team_id__delete
      parameters:
      - name: team_id
        in: path
        required: true
        schema:
          type: integer
          title: Team Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/teams/{team_id}/users:
    post:
      tags:
      - Teams
      summary: Add Team Members
      description: Add one or more users to the team. Idempotent (INSERT IGNORE).
      operationId: add_team_members_api_teams__team_id__users_post
      parameters:
      - name: team_id
        in: path
        required: true
        schema:
          type: integer
          title: Team Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddMembersRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/teams/{team_id}/users/{user_id}:
    delete:
      tags:
      - Teams
      summary: Remove Team Member
      description: Remove one user from the team.
      operationId: remove_team_member_api_teams__team_id__users__user_id__delete
      parameters:
      - name: team_id
        in: path
        required: true
        schema:
          type: integer
          title: Team Id
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/teams/{team_id}/tables:
    post:
      tags:
      - Teams
      summary: Grant Team Tables
      description: Grant one or more tables to the team. Idempotent (INSERT IGNORE).
      operationId: grant_team_tables_api_teams__team_id__tables_post
      parameters:
      - name: team_id
        in: path
        required: true
        schema:
          type: integer
          title: Team Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GrantTablesRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/teams/{team_id}/tables/{table_id}:
    delete:
      tags:
      - Teams
      summary: Revoke Team Table
      description: Revoke one table from the team.
      operationId: revoke_team_table_api_teams__team_id__tables__table_id__delete
      parameters:
      - name: team_id
        in: path
        required: true
        schema:
          type: integer
          title: Team Id
      - name: table_id
        in: path
        required: true
        schema:
          type: integer
          title: Table Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UpdateTeamRequest:
      properties:
        name:
          type: string
          title: Name
      type: object
      required:
      - name
      title: UpdateTeamRequest
    CreateTeamRequest:
      properties:
        name:
          type: string
          title: Name
      type: object
      required:
      - name
      title: CreateTeamRequest
    GrantTablesRequest:
      properties:
        table_ids:
          items:
            type: integer
          type: array
          title: Table Ids
      type: object
      required:
      - table_ids
      title: GrantTablesRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AddMembersRequest:
      properties:
        user_ids:
          items:
            type: integer
          type: array
          title: User Ids
      type: object
      required:
      - user_ids
      title: AddMembersRequest