---
title: "Get ownership-separated system and workflow context schemas"
method: GET
path: "/v1/assistants/{agent_id}/revisions/{revision_id}/context-schema"
tags: ["assistants"]
---

# Get ownership-separated system and workflow context schemas

`GET /v1/assistants/{agent_id}/revisions/{revision_id}/context-schema`

## Request

- The document declares no server URL.
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/oneloop-hq/apis/feather-api/docs/v1/assistants/:agent_id/revisions/:revision_id/context-schema/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `agent_id` string, uuid, required
- `revision_id` string, uuid, required

## Response `200`

Successful Response

- AssistantContextSchemaResponse: Ownership-separated context contract for one assistant revision.
  - `system` ContextSchemaVariable[]
    - `name` string, required
    - `type` string, required
    - `description` string, nullable
    - `enum_values` string[], nullable
  - `workflow_inputs` ContextSchemaVariable[]
    - `name` string, required
    - `type` string, required
    - `description` string, nullable
    - `enum_values` string[], nullable
  - `workflow_derived` ContextSchemaVariable[]
    - `name` string, required
    - `type` string, required
    - `description` string, nullable
    - `enum_values` string[], nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-12** `5a5597ebb2d6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/oneloop-hq/apis/feather-api/changes/v1/assistants/:agent_id/revisions/:revision_id/context-schema/get.md)

---

[API](https://skmtc.dev/oneloop-hq/apis/feather-api.md) - [All operations](https://skmtc.dev/oneloop-hq/apis/feather-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oneloop-hq/apis/feather-api/revisions/9cd7291d4228?raw)
