Create a data plane API key
Create a fine-grained data plane API key rooted at a project. The caller’s key must carry project.fine_grained_api_key_dp.post for the project. Only an organization-rooted key created in the organization’s Settings → API Keys, on the Data Plane tab, can carry it, and a key created through this operation never can, so a provisioned key cannot create keys. The permissions requested are limited to the organization’s data plane key policy, and expires_at to the system’s maximum lifetime. The project must already exist on this data plane: a project created on the control plane reaches it asynchronously, and the operation answers 404 until it does. key_value is returned once and cannot be retrieved again.
Authorizations
A fine-grained data plane API key (values begin with hh_fgdp_). Rooted at an organization, workspace, or project, it carries the permissions chosen when it was created, and only the operations whose paths begin with /v1/projects/{project_id}/ accept it. Create one in the HoneyHive app under the project's, workspace's, or organization's Settings → API Keys, on the Data Plane tab.
Path Parameters
The unique identifier of the project the key is rooted at
Body
A name for the key, shown in the key list.
1 - 256The permissions the key carries, such as project.chart.get. Each must be one the key's root scope can carry and one the organization's data plane key policy allows; the key creation screen under the project's Settings → API Keys lists them.
1When the key expires, as an ISO 8601 timestamp. It must be in the future and within the maximum key lifetime; a later value is refused with the limit named.
What the key is for.
1024