GET
/v1/projects/{client_id}/configGet project config
Use this to inspect the server-stored defaults that jobs use. Secret values are never returned by this endpoint.
Auth: Secret key or authorized project context
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| client_id | string | Yes | Project identifier. |
Response fields
| Name | Type | Required | Description |
|---|---|---|---|
| client_id | string | Yes | Project identifier. |
| defaults | object | Yes | Public runtime defaults applied to jobs. |
| allowed_origins | string[] | No | Origins configured for publishable-key browser flows. |
| request_id | string | Yes | Support identifier. |
Examples
get-config.sh
curl "https://api.wavebird.ai/v1/projects/wbproj_demo_8jK42/config" \
-H "Authorization: Bearer sk_test_wavebird_demo_secret"Response example
{
"client_id": "wbproj_demo_8jK42",
"defaults": {
"formats": ["banner", "native"],
"decision_delivery": "polling"
},
"allowed_origins": ["https://publisher.example"],
"request_id": "req_jP5bb2"
}Errors
unauthorized401Missing secret key.
forbidden403Key does not belong to this project.
not_found404Project was not found.