---
title: "Get Genome By Agent"
method: GET
path: "/v1/genomes/by-agent/{agent_id}"
tags: ["Agent Environment", "genomes"]
---

# Get Genome By Agent

`GET /v1/genomes/by-agent/{agent_id}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/vijilai/apis/vijil-console-api-combined/docs/v1/genomes/by-agent/:agent_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a genome by agent ID. Proxies to Darwin.

## Path parameters

- `agent_id` string, uuid, required

## Query parameters

- `version` integer, nullable: Specific version (None = latest)

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/vijilai/apis/vijil-console-api-combined.md) - [All operations](https://skmtc.dev/vijilai/apis/vijil-console-api-combined/llms.txt) - [OpenAPI document](https://skmtc.dev/vijilai/apis/vijil-console-api-combined/revisions/a8b2ee2b2d06?raw)
