Skip to content
Get an API key
Reference

API keys

1 endpoints in this family.

List recent API calls

GET/api/v1/api-requests

Key role admin or above

Every call made to /api/v1 with one of this workspace's keys over the last 30 days: method, address, status, error code and duration. Newest first. Use it to see why a call failed without asking us.

Neither bodies, headers nor query strings are kept. A call refused because the key itself was wrong is not listed: we cannot tell whose it was.

Query parameters

  • apiKeyIdstring

    Only calls made with this key.

  • errorsOnlyboolean

    true keeps only calls that did not succeed (status 400 and above).

  • limitinteger

    Page size, 1 to 100. Default 50.

  • cursorstring

    The nextCursor of the previous page.

Response

A page of calls, newest first.

  • data.itemsApiRequest[]

    The calls.

  • data.nextCursorstring

    Pass it as cursor for the next page; null at the end.

  • data.hasMoreboolean

    Whether another page exists.

curl https://coplace.io/api/v1/api-requests \ -H "Authorization: Bearer $COPLACE_KEY"

Response

200 OK
{ "data": { "items": [ {} ], "nextCursor": "…", "hasMore": true }}