---
title: "Get Optimization Job Logs"
method: GET
path: "/api/v1/jobs/gepa/{job_id}/logs"
---

# Get Optimization Job Logs

`GET /api/v1/jobs/gepa/{job_id}/logs`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/modaic-ai/apis/modaic-api/docs/api/v1/jobs/gepa/:job_id/logs/get.ts> (a function with typed inputs; its response is checked against the schema)

Get logs from a GEPA optimization job.

Logs are written directly to Postgres by the sandbox — this endpoint
is a pure reader.

## Path parameters

- `job_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/modaic-ai/apis/modaic-api.md) - [All operations](https://skmtc.dev/modaic-ai/apis/modaic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/modaic-ai/apis/modaic-api/revisions/43a90513ac59?raw)
