statshawk
REST APIAssets

Get team logo image.

Returns the team's logo as a binary image response with a Cache-Control: public, max-age=604800 header (7-day client cache).

Logos are served from this API's own asset store — no request-time fetch to any external host, by design.

team_id is the public minted team_... id returned everywhere on the wire; a bare UUID (the legacy asset-store key) is also accepted for backward compatibility. Returns 404 if no logo is stored for the team.

cost 1 unitany plan
GET
/v1/assets/team-logo/{team_id}

Returns the team's logo as a binary image response with a Cache-Control: public, max-age=604800 header (7-day client cache).

Logos are served from this API's own asset store — no request-time fetch to any external host, by design.

team_id is the public minted team_... id returned everywhere on the wire; a bare UUID (the legacy asset-store key) is also accepted for backward compatibility. Returns 404 if no logo is stored for the team.

X-API-Key<token>

Raw API key (sk_live_… or sk_test_…). Preferred for REST clients. Keys are read-only; the environment prefix is the only key role. See https://statshawk.ai/docs/getting-started/permissions

In: header

Path Parameters

team_id*string

The public minted team id returned everywhere on the wire. Example: team_06fhk442w5vw5czxwa06993p4m. A bare UUID (the legacy asset-store key) is also accepted for backward compatibility.

Response Body

image/png

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/assets/team-logo/string"
Empty
{
  "error": {
    "code": "string",
    "message": "string",
    "property1": null,
    "property2": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "property1": null,
    "property2": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "property1": null,
    "property2": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "property1": null,
    "property2": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "property1": null,
    "property2": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "property1": null,
    "property2": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "property1": null,
    "property2": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "property1": null,
    "property2": null
  }
}