Skip to navigation

List changes made to the account

Returns the record of changes made through the API to keys, projects, provider keys and budgets, newest first: who made the change (the API key), what changed, when, and the id of the request. An entry is written when the change succeeds. Reads and model or sandbox calls are not recorded here.

An entry never holds a key secret, a vendor credential, a webhook secret or a webhook address. details.fields names what the request set, and details.values holds the new values of the fields that are safe to show.

Entries are kept 400 days on the hosted service.

Scope: admin.

Authentication

AuthorizationBearer

A Meadow API key, sent as Authorization: Bearer mdw_.... The header x-api-key: mdw_... is accepted in its place.

Query parameters

limitintegerOptional<=200Defaults to 50
Page size, from 1 to 200. A value outside that range returns 400.
cursorstringOptional

The next_cursor of the previous page. Leave out for the first page. A value Meadow did not issue returns 400.

typestringOptional

Return only entries of this type, such as api_key.updated.

project_idstringOptional
Return only entries about this project and the keys and budgets in it.
actor_key_idstringOptional
Return only changes made with this key.

Response headers

x-request-idstringOptional

Meadow’s id for this request, req_ and 24 hex characters. Every response carries it, including errors, streams and unknown routes. Every error in the Error schema repeats it as request_id. Quote it when you report a problem.

Response

One page of entries, newest first.
objectenum

Always list, as on OpenAI and Stripe.

Allowed values:
datalist of objects
has_moreboolean

True when next_cursor is set.

next_cursorstring or null

Pass it as cursor to get the next page. Null on the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error