---
title: "Get a single intent with edge cases, linked evidence ids, and relations."
method: GET
path: "/api/v1/intents/{id}"
tags: ["intents"]
---

# Get a single intent with edge cases, linked evidence ids, and relations.

`GET /api/v1/intents/{id}`

Detail path uses INTENT_WITH_RELATIONS_SELECT, so edgeCases, evidenceIds (from intent_spec_evidence.friction_id), and relations are all fully populated here (unlike the list endpoint). Scoped to the authenticated workspace via .eq('workspace_id', ...). No rate limiting on this GET.

## Path parameters

- `id` string, required

## Query parameters

- `workspace_id` string

## Response `200`

OK — returns the full mapped intent

- object

## Other responses

- `400` — Cookie-session auth only: workspace_id query param missing
- `401` — Invalid/expired API key, or no Bearer key and no valid session cookie
- `403` — Lacks read scope; OR cookie auth not a member of the workspace
- `404` — Intent not found (Supabase PGRST116) within this workspace
- `500` — DB error or unexpected internal error

---

[API](https://skmtc.dev/pathmode/apis/pathmode-api.md) · [All operations](https://skmtc.dev/pathmode/apis/pathmode-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pathmode/pathmode-api/revisions/e419abb0a327/schema)
