Skip to main content
GET
/
api
/
mcp
/
list_contexts
List Contexts
curl --request GET \
  --url https://app.apigene.ai/api/mcp/list_contexts \
  --header 'Authorization: Bearer <token>'
{
  "context_names": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Query Parameters

genai_app
string
required

The name of the GenAI app.

app_type
string
default:agent

The type of the app ('mcp' or 'agent').

Response

Successful Response

Response model for listing context names. Contains the list of context names.

context_names
string[]
required

List of context names