Skip to main content
GET
/
api
/
mcp
/
get_context
Get Context
curl --request GET \
  --url https://app.apigene.ai/api/mcp/get_context \
  --header 'Authorization: Bearer <token>'
{
  "context": {
    "name": "<string>",
    "description": "<string>",
    "created_by": "<string>",
    "id": "<string>",
    "apps": [],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

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').

context_name
string
required

The name of the context to retrieve.

Response

Successful Response

Response model for getting a specific context. Contains the context data.

context
Context · object
required

The context data