Piloterr
Referência da APIProjects

List the API keys a project can run with

GET
/v1/api-keys

The workspace's API keys, for a project's api_key_id: the managed Dataflow key first (managed, the default when a project sets none; created on its first use), then the workspace's own keys by alias; archived keys are left out. Only their last characters are returned. An inactive or expired key is listed with usable: false: setting it answers 422 api_key_invalid. A project's calls then count on its key, its limits and its logs.

Autorização

ApiKeyAuth
headerX-Api-Key<token>

Corpo da resposta

API keys

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://dataflow.piloterr.com/v1/api-keys'
Example Response
{
  "items": [
    {
      "id": "cm2r5tb4s000108l7f6mh2cxz",
      "alias": "Dataflow",
      "category": "production",
      "hint": "••••0f3a",
      "managed": true,
      "usable": true,
      "expires": null
    },
    {
      "id": "cm2r5t9ke000008l7a3vq8dyw",
      "alias": "Pricing pipeline",
      "category": "production",
      "hint": "••••9c1e",
      "managed": false,
      "usable": true,
      "expires": null
    }
  ]
}