Collections

Search collection by collection id

GET
/chemical/collections/search/by-id/{id}

Returns one collection by the public collection identifier stored in collection_id. Projection controls response shape: full (all columns) or name (id and name).

Path Parameters

id*integer

Public collection identifier backed by the collection_id column

Formatint64

Query Parameters

projection?string

Response projection. Allowed values: full, name.

Default"full"

Response Body

application/json

application/json

curl -X GET "https://example.com/chemical/collections/search/by-id/101?projection=full"
{  "id": 0,  "name": "string"}