---
title: "Library Card Outcome"
method: POST
path: "/exercise-library/chat-cards/{chat_id}/{card_id}/outcome"
tags: ["exercise-library"]
---

# Library Card Outcome

`POST /exercise-library/chat-cards/{chat_id}/{card_id}/outcome`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/exercise-library/chat-cards/{chat_id}/{card_id}/outcome`
- Auth: OAuth 2 (password, token URL `api/login`)

Record what the teacher did with a library card of the chat, so the
chat knows it on the next turn.

## Path parameters

- `chat_id` string, required
- `card_id` string, required

## Request body

- LibraryCardOutcomeCreate
  - `status` 'imported' | 'applied' | 'partial' | 'undone' | 'deleted', required
  - `exercise_ids` string[]
  - `deleted` string[]

## Response `204`

Successful Response

## Other responses

- `404`: Resource not found
- `409`: Business rule violated
- `422`: Validation Error

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-10-11** `271be6884523`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/exercise-library/chat-cards/:chat_id/:card_id/outcome/post.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
