EndpointsCogents

Get an image from chat

GET/v2/cogents/{cogent_id}/images/{sha}

Returns an image a chat line carries, by the sha in the line's images. As an MCP tool it answers with the image itself, for the agent to see. The cogent's owner, its player and its agents read any of its images; a visitor, only the ones they added.

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}$
sha*Sha

SHA-256 of the image, lowercase hex.

Match^[0-9a-f]{64}$
curl -X GET "https://softmax.com/api/observatory/v2/cogents/string/images/string"
{  "sha": "string",  "mime": "image/png",  "width": 0,  "height": 0,  "bytes": 0,  "name": "string",  "content_base64": "string"}