Get catalog
GET
One catalog, by id, with its item count and referencing agents.
Access: workspace_viewer · API key catalogs:read
api-keyheader
AuthorizationBearer <sk_waylo_<lookup><secret><checksum>>id*stringSuccess
application/json- response
id*stringworkspaceId*stringname*stringdescription*string|nullactive*booleanmetadata*itemCount*numberagents*array<>createdByUserId*|Format
uuidcreatedByUserName*string|nullupdatedByUserId*|Format
uuidupdatedByUserName*string|nullcreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -X GET 'https://api.poc.app.waylovoice.ai/catalogs/string' \ -H 'Authorization: Bearer sk_waylo_...'Example Response
{ "id": "string", "workspaceId": "string", "name": "string", "description": "string", "active": true, "metadata": {}, "itemCount": 0, "agents": [ { "id": "string", "name": "string" } ], "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620", "createdByUserName": "string", "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e", "updatedByUserName": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Create catalog items POST
Bulk upsert on `sku`. A field the batch omits keeps its stored value, so a partial re-post cannot revive a retired item; send `unit: null` to clear a unit. A batch naming one SKU twice, or an empty batch, is refused. **Access:** workspace_admin · API key `catalogs:write`
List catalog items GET
Items in the catalog, offset-paginated, most recently updated first by default. **Access:** workspace_viewer · API key `catalogs:read`