---
title: "Get Codex Cost Per Credit"
method: GET
path: "/codex-cost-per-credit/{codex_cost_per_credit_id}"
tags: ["codex-cost-per-credit"]
---

# Get Codex Cost Per Credit

`GET /codex-cost-per-credit/{codex_cost_per_credit_id}`

## Request

- Base URL: `https://api.galileo.ai`
- URL: `https://api.galileo.ai/codex-cost-per-credit/{codex_cost_per_credit_id}`
- Auth: one of:
  - API key in header `Splunk-AO-API-Key`
  - API key in header `Galileo-API-Key`
  - OAuth 2
    - Password
    - Token URL: `https://api.galileo.ai/login`
  - HTTP basic

## Path parameters

- `codex_cost_per_credit_id` string, uuid4, required

## Response `200`

Successful Response

- CodexCostPerCreditResponse
  - `start_date` string, date, required
  - `end_date` string, date, required
  - `cost_per_credit` string, required
  - `id` string, uuid4, required
  - `organization_id` string, uuid4, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

> 35 revisions in range; 2 not diffed.

- **2026-10-13** `0897291b6ee2`: 1 info
  - the `cost_per_credit` response's property pattern `^(?!^[-+.]*$)[+-]?0*(?:\d{0,10}|(?=[\d.]{1,21}0*$)\d{0,10}\.\d{0,10}0*$)` was removed for the status `200`
- **2026-08-05** `1f7a6a4a81ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/galileo/apis/galileo-api-server/changes/codex-cost-per-credit/:codex_cost_per_credit_id/get.md)

---

[API](https://skmtc.dev/galileo/apis/galileo-api-server.md) - [All operations](https://skmtc.dev/galileo/apis/galileo-api-server/llms.txt) - [OpenAPI document](https://skmtc.dev/galileo/apis/galileo-api-server/revisions/4cf49e96b632?raw)
