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.
openapi: 3.2.0
info:
title: Surge Ai Teams API
version: 1.0.0
contact:
name: Surge AI documentation
url: https://app.surgehq.ai/docs/api
x-refined-note:
- x-generated-from differs across the merged source definitions and was not carried
- x-note differs across the merged source definitions and was not carried
- x-source differs across the merged source definitions and was not carried
description: 'Operations tagged Teams across 2 of this provider''s published API definitions: surge-ai-openapi.yml, surge-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.surgehq.ai/api
description: Production
security:
- basicAuth: []
tags:
- name: Teams
paths:
/teams:
get:
tags:
- Teams
summary: List teams
operationId: listTeams
responses:
'200':
description: Teams
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Team'
servers:
- url: https://app.surgehq.ai/api
description: Production
/teams/list:
get:
tags:
- Teams
summary: List teams
operationId: getTeamsList
responses:
'200':
description: Teams
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Team'
x-operation-id-source: normalized
x-operation-id-original: listTeams
servers:
- url: https://app.surgehq.ai/api
description: Production
components:
schemas:
Team:
type: object
properties:
id:
type: string
name:
type: string
securitySchemes:
basicAuth:
type: http
scheme: basic
description: HTTP Basic auth with the API key as username (set via SURGE_API_KEY).
x-refined-from:
- surge-ai-openapi.yml
- surge-ai-openapi.yml