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.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| client_id | string | Required | Project identifier. |
Returns
| Name | Type | Description |
|---|---|---|
| client_id | string | Project identifier. |
| defaults | object | Public runtime defaults applied to jobs. |
| allowed_origins | string[] | Origins configured for publishable-key browser flows. |
| request_id | string | Support identifier. |
Request example
GET /v1/projects/{client_id}/config
get-config.shbash
1curl "https://api.wavebird.ai/v1/projects/wbproj_demo_8jK42/config" \2 -H "Authorization: Bearer sk_test_wavebird_demo_secret"Response example
Response
response.jsonjson
1{2 "client_id": "wbproj_demo_8jK42",3 "defaults": {4 "formats": ["banner", "native"],5 "decision_delivery": "polling"6 },7 "allowed_origins": ["https://publisher.example"],8 "request_id": "req_jP5bb2"9}Errors
unauthorized401Missing secret key.
forbidden403Key does not belong to this project.
not_found404Project was not found.