---
title: "Op Read"
method: GET
path: "/v2/{entity}/{project}/ops/{object_id}/versions/{digest}"
tags: ["Ops"]
---

# Op Read

`GET /v2/{entity}/{project}/ops/{object_id}/versions/{digest}`

Get an op object.

## Path parameters

- `entity` string, required
- `project` string, required
- `object_id` string, required
- `digest` string, required

## Query parameters

- `eager` boolean — Whether to eagerly load the op code

## Response `200`

Successful Response

- OpReadRes — Response model for reading an Op object. The code field contains the actual source code of the op.
  - `object_id` string, required — The op ID
  - `digest` string, required — The digest of the op
  - `version_index` integer, required — The version index of this op
  - `created_at` string, date-time, required — When this op was created
  - `code` string, required — The actual op source code

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/wandb/apis/serverless-training.md) · [All operations](https://skmtc.dev/wandb/apis/serverless-training/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wandb/serverless-training/revisions/8d8d96fc0fd3/schema)
