openapi: 3.1.0 info: title: Convex Deployment Platform AccessTokens Teams API description: The Convex Deployment Platform API is a deployment-scoped administrative REST API for configuring individual Convex deployments. It exposes private endpoints accessible only to deployment administrators and supports operations such as managing environment variables and other deployment configuration settings. Each deployment has its own endpoint in the format https://{deployment-name}.convex.cloud/api/v1/. Authentication requires an Authorization header using deployment keys, Team Access Tokens, or OAuth Application Tokens formatted as "Convex {token}". This API is currently in Beta and is intended for platform integrations and infrastructure automation workflows. version: v1-beta contact: name: Convex Platform Support email: platforms@convex.dev url: https://www.convex.dev/community termsOfService: https://www.convex.dev/terms servers: - url: https://{deploymentName}.convex.cloud/api/v1 description: Convex Deployment Server variables: deploymentName: default: happy-otter-123 description: The deployment name found in the Convex dashboard or via the Management API. Each deployment has a unique subdomain under convex.cloud. security: - convexAuth: [] tags: - name: Teams description: Manage Convex teams, team members, and team-level access tokens. Teams are the billing and administrative unit that owns projects. paths: /teams/{team_id}/members: get: operationId: listTeamMembers summary: List team members description: Returns all members of the specified team along with their roles. Roles include admin (full management access) and developer (standard access). Useful for auditing team membership and access levels. tags: - Teams parameters: - $ref: '#/components/parameters/teamId' responses: '200': description: Team members listed successfully content: application/json: schema: type: array items: $ref: '#/components/schemas/TeamMember' '401': description: Unauthorized — missing or invalid token components: schemas: TeamMember: type: object required: - id - role properties: id: type: integer format: int64 description: Unique identifier of the team member. email: type: string format: email description: Email address of the team member. role: type: string description: The member's role within the team. enum: - admin - developer parameters: teamId: name: team_id in: path required: true description: The integer identifier of the Convex team. Available in the Convex dashboard when creating Team Access Tokens. schema: type: integer format: int64 securitySchemes: convexAuth: type: apiKey in: header name: Authorization description: 'Authorization header using a deployment key, Team Access Token, or OAuth Application Token. The token must be prefixed with the string "Convex " (e.g. "Authorization: Convex prod:abc123..."). Deployment keys are created in the dashboard or via the Management API.' externalDocs: description: Convex Deployment Platform API Documentation url: https://docs.convex.dev/deployment-platform-api