Notes
Update Note
Changed onUpdate a note (partial). Supports optimistic concurrency via If-Match.
patch/notes/{note_id}
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /notes/{note_id}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL /authorize, token URL /oauth/token)
Path parameters
note_idstring required
ID of the note.
Example:note_6968b398edb465624291e405
Headers
if-matchstring nullable
Expected note revision (the ETag value); the request fails with 412 if the note has changed.
Example:"3"
Request body
Example request
{
"body": "Stripe returns 401 unless the secret key is sent as a Bearer token; Basic auth with an empty password also works.",
"confidence": "verified",
"related_execution_id": "exec_6968b3982706c619fe73f0cf",
"source": "agent",
"type": "auth_quirk"
}Response
Successful Response
unknown required
Changes
- info
the endpoint scheme security
OAuth2was added to the API
- info
- info
endpoint added
- info