EndpointsCogents
Search cogent records
GET
/v2/cogents/{cogent_id}/searchReturns the live records whose text holds every word of q, by collection and key.
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token issued by Softmax
In: header
Path Parameters
cogent_id*Cogent Id
Cogent ID (its player ID).
Match
^ply_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Query Parameters
q*Q
Words to find, all of them.
Length
1 <= length <= 400collections?array<string>
Only these collections; every one when omitted.
Items
items <= 32Default
[]limit?Limit
Most hits to return.
Range
1 <= value <= 100Default
50curl -X GET "https://softmax.com/api/observatory/v2/cogents/string/search?q=string"[ { "collection": "string", "key": "string", "snippet": "string" }]