NOT_FOUND
The record does not exist, or the caller may not see it. The two are deliberately the same, so identifiers cannot be probed. For an agent version, it is also what someone without the agent's version access grant gets for the draft or a pinned version.
| HTTP status | 404 |
| Error class | NotFoundError in TypeScript and Python, *caitlyn.NotFoundError in Go, Error::NotFound in Rust |
| Retried by the SDKs | No |
What to do
Section titled “What to do”Check the identifier, and that the caller has access to the record (and, for the draft or a pinned version, the version access grant).
The error body
Section titled “The error body”Every error is an RFC 9457 problem details object with code set to NOT_FOUND and type set to this page's address. requestId identifies the request; quote it to Caitlyn support. Errors lists every field.
Operations that document this error: ResumeConversationStream, SendMessage, CreateDocument, ListDocuments, GetAgentVersion, UpdateDraftVersion. Any operation can return it, though: the SDKs choose the class by HTTP status.

