---
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`

## 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

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/revisions/9cd7291d4228/schema)
