This endpoint uses session cookie authentication (
plangrep_session). It is used by the Plangrep app’s API settings page and does not accept a bearer API key.Endpoint
Authentication
| Method | Value |
|---|---|
| Cookie | plangrep_session=YOUR_SESSION_COOKIE |
Request Body
A human-readable name for the key (e.g.,
"CI Pipeline" or "Acme Corp Integration"). Maximum 120 characters.One or more permission scopes to grant this key. At least one scope is required.
| Scope | Access Granted |
|---|---|
jobs:read | Read job state and results |
jobs:write | Create jobs, upload files, complete uploads, resume and cancel jobs |
artifacts:read | Fetch authenticated artifact download URLs |
Optional expiration timestamp in ISO 8601 format (e.g.,
"2025-12-31T23:59:59Z"). Must be a future date. If omitted, the key never expires.Response
201 Created Returns anOpenApiKeyCreateResponse object.
Metadata for the newly created key.
The full plaintext key to use in API requests. This value is shown exactly once and is not stored by Plangrep. Copy it immediately and store it in a secure secrets manager.
Scope Reference
| Scope | Access Granted |
|---|---|
jobs:read | Read job state, status, and results |
jobs:write | Create jobs, upload files, complete uploads, resume and cancel jobs |
artifacts:read | Fetch authenticated artifact download URLs |