---
title: "GET /api/v1/{context_id}/profile"
method: GET
path: "/api/v1/{context_id}/profile"
---

# GET /api/v1/{context_id}/profile

`GET /api/v1/{context_id}/profile`

Get a profile suitable for LLM system prompt injection

## Path parameters

- `context_id` string, required

## Response `200`

- ProfileResponseJson
  - `dynamic` ProfileEntryJson[], required
    - `key` string, required
    - `value` string, required
  - `instructions` InstructionSummaryJson[], required
    - `description` string, required
    - `id` string, required
    - `label` string, required
  - `preferences` ProfileEntryJson[], required
    - `key` string, required
    - `value` string, required
  - `static` ProfileEntryJson[], required
    - `key` string, required
    - `value` string, required

## Other responses

- `401` — Unauthorized
- `422` — Invalid context id

---

[API](https://skmtc.net/surrealdb/apis/spectron.md) · [All operations](https://skmtc.net/surrealdb/apis/spectron/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/surrealdb/spectron/versions/52b41ab517b6/schema)
