---
title: "Og Agent"
method: GET
path: "/api/v1/og/agent/{agent_id}.png"
tags: ["og"]
---

# Og Agent

`GET /api/v1/og/agent/{agent_id}.png`

## Request

- Base URL: `https://api.badgeia.com`
- URL: `https://api.badgeia.com/api/v1/og/agent/{agent_id}.png`
- Auth: none declared

OG image for an agent profile. Shows composite + rank + sparkline.

## Path parameters

- `agent_id` string, uuid, required

## Query parameters

- `w` string, nullable: PRD-010 FR-12 — compact 5-tuple weight override matching the frontend URL-hash format, e.g. `40,30,10,10,10`. Order: correctness, latency, cost, tool, robustness. When supplied and the v2 flag is on, the rendered composite score reflects these weights and a `WEIGHTS` pill appears on the card.
- `format` string, nullable: `png` (default) | `svg`

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/badgeia/apis/badge.md) · [All operations](https://skmtc.dev/badgeia/apis/badge/llms.txt) · [OpenAPI document](https://skmtc.dev/badgeia/apis/badge/revisions/7e7f7fee8b77?raw)
