---
title: "Get Agent Code"
method: GET
path: "/agents/{job_id}/code"
tags: ["Agents"]
---

# Get Agent Code

`GET /agents/{job_id}/code`

Get the stored code for a PyFlink agent.

## Path parameters

- `job_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/streamkap/apis/streamkap-rest-api.md) · [All operations](https://skmtc.net/streamkap/apis/streamkap-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streamkap/streamkap-rest-api/versions/8aea6143d003/schema)
