Terminal Use Projects API

The Projects API from Terminal Use — 4 operation(s) for projects.

Operations 8

GET /projects List Projects #
POST /projects Create Project #
DELETE /projects/{project_id} Delete Project #
GET /projects/{project_id} Get Project #
PATCH /projects/{project_id} Update Project #
GET /projects/{project_id}/collaborators List Project Collaborators #
DELETE /projects/{project_id}/collaborators/{member_id} Remove Project Collaborator #
PUT /projects/{project_id}/collaborators/{member_id} Set Project Collaborator Role #

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/terminal-use-projects-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 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

terminal-use-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sb0 Agent APIKeys Projects API
  version: 0.1.0
servers:
- url: https://api.terminaluse.com
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Projects
paths:
  /projects:
    get:
      description: List all projects the user has access to.
      operationId: projects_list
      parameters:
      - description: Filter by namespace ID
        in: query
        name: namespace_id
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by namespace ID
          title: Namespace Id
      - description: Maximum number of results
        in: query
        name: limit
        required: false
        schema:
          default: 50
          description: Maximum number of results
          maximum: 100
          minimum: 1
          title: Limit
          type: integer
      - description: Page number
        in: query
        name: page_number
        required: false
        schema:
          default: 1
          description: Page number
          minimum: 1
          title: Page Number
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ProjectListItem'
                title: Response Projects List
                type: array
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: List Projects
      tags:
      - Projects
    post:
      description: Create a new project within a namespace.
      operationId: projects_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProjectRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Create Project
      tags:
      - Projects
  /projects/{project_id}:
    delete:
      description: Delete a project (must be empty).
      operationId: projects_delete
      parameters:
      - in: path
        name: project_id
        required: true
        schema:
          title: Project Id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Delete Project
      tags:
      - Projects
    get:
      description: Get a project by ID.
      operationId: projects_retrieve
      parameters:
      - in: path
        name: project_id
        required: true
        schema:
          title: Project Id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Get Project
      tags:
      - Projects
    patch:
      description: Update a project's properties.
      operationId: projects_update
      parameters:
      - in: path
        name: project_id
        required: true
        schema:
          title: Project Id
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProjectRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Update Project
      tags:
      - Projects
  /projects/{project_id}/collaborators:
    get:
      description: List explicit collaborator roles on a project.
      operationId: projects_list_collaborators
      parameters:
      - in: path
        name: project_id
        required: true
        schema:
          title: Project Id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectCollaboratorsResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: List Project Collaborators
      tags:
      - Projects
  /projects/{project_id}/collaborators/{member_id}:
    delete:
      description: Remove explicit collaborator role tuples from a project.
      operationId: projects_remove_collaborator
      parameters:
      - in: path
        name: project_id
        required: true
        schema:
          title: Project Id
          type: string
      - in: path
        name: member_id
        required: true
        schema:
          title: Member Id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Remove Project Collaborator
      tags:
      - Projects
    put:
      description: Create or update an explicit collaborator role on a project.
      operationId: projects_upsert_collaborator
      parameters:
      - in: path
        name: project_id
        required: true
        schema:
          title: Project Id
          type: string
      - in: path
        name: member_id
        required: true
        schema:
          title: Member Id
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertProjectCollaboratorRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectCollaboratorResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Set Project Collaborator Role
      tags:
      - Projects
components:
  schemas:
    ProjectCollaboratorResponse:
      description: Response model for project collaborator.
      properties:
        member_id:
          description: The WorkOS user ID of the collaborator.
          title: Member Id
          type: string
        role:
          description: Collaborator role.
          enum:
          - discoverer
          - viewer
          - editor
          - owner
          title: Role
          type: string
      required:
      - member_id
      - role
      title: ProjectCollaboratorResponse
      type: object
    ProjectListItem:
      description: 'Minimal project shape for discovery/listing.


        The /projects list endpoint is authorized via `discover` and must not leak

        read-level fields (e.g. description).'
      properties:
        id:
          description: The unique identifier of the project.
          title: Id
          type: string
        name:
          description: Project name.
          title: Name
          type: string
        namespace_id:
          description: The namespace this project belongs to.
          title: Namespace Id
          type: string
      required:
      - id
      - namespace_id
      - name
      title: ProjectListItem
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    UpdateProjectRequest:
      description: Request model for updating a project.
      properties:
        description:
          anyOf:
          - maxLength: 1000
            type: string
          - type: 'null'
          description: Optional project description.
          title: Description
        name:
          anyOf:
          - maxLength: 255
            minLength: 1
            type: string
          - type: 'null'
          description: Project name.
          title: Name
      title: UpdateProjectRequest
      type: object
    CreateProjectRequest:
      description: Request model for creating a project.
      properties:
        description:
          anyOf:
          - maxLength: 1000
            type: string
          - type: 'null'
          description: Optional project description.
          title: Description
        name:
          description: Project name (unique within namespace).
          maxLength: 255
          minLength: 1
          title: Name
          type: string
        namespace_id:
          description: The namespace this project belongs to.
          title: Namespace Id
          type: string
      required:
      - namespace_id
      - name
      title: CreateProjectRequest
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
      - loc
      - msg
      - type
      title: ValidationError
      type: object
    UpsertProjectCollaboratorRequest:
      description: Request model for setting/updating a project collaborator role.
      properties:
        role:
          description: Role to assign.
          enum:
          - discoverer
          - viewer
          - editor
          - owner
          title: Role
          type: string
      required:
      - role
      title: UpsertProjectCollaboratorRequest
      type: object
    Project:
      description: Response model for project.
      properties:
        created_at:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          description: When the project was created.
          title: Created At
        created_by:
          description: member_id of the creator.
          title: Created By
          type: string
        description:
          anyOf:
          - type: string
          - type: 'null'
          description: Optional project description.
          title: Description
        id:
          description: The unique identifier of the project.
          title: Id
          type: string
        name:
          description: Project name.
          title: Name
          type: string
        namespace_id:
          description: The namespace this project belongs to.
          title: Namespace Id
          type: string
      required:
      - id
      - namespace_id
      - name
      - created_by
      title: Project
      type: object
    ProjectCollaboratorsResponse:
      description: Response model for project collaborators list.
      properties:
        can_manage:
          description: Whether the current user can manage collaborators.
          title: Can Manage
          type: boolean
        collaborators:
          description: Project collaborators with explicit direct roles.
          items:
            $ref: '#/components/schemas/ProjectCollaboratorResponse'
          title: Collaborators
          type: array
      required:
      - can_manage
      title: ProjectCollaboratorsResponse
      type: object
    DeleteResponse:
      properties:
        id:
          title: Id
          type: string
        message:
          title: Message
          type: string
      required:
      - id
      - message
      title: DeleteResponse
      type: object
x-fern-idempotency-headers:
- header: Idempotency-Key
  name: idempotency_key