---
title: "Create a usage export"
method: POST
path: "/organizations/{org_id}/usage_export_job"
tags: ["Usage"]
---

# Create a usage export

`POST /organizations/{org_id}/usage_export_job`

Submits a request to create a usage export for an organization.

## Request body

- object
  - `start` string, date-time, required — The start date & time (inclusive) of the range from which data will be pulled. Must be no more than one year ago.
  - `end` string, date-time, required — The end date & time (inclusive) of the range from which data will be pulled. Must be no more than 31 days after `start`.
  - `shared_org_ids` string[]

## Response `201`

Usage export created successfully

- UsageExportJob
  - `usage_export_job_id` string, uuid, required
  - `state` 'created' | 'processing' | 'failed' | 'completed', required
  - `start` string, date-time, required
  - `end` string, date-time, required
  - `download_urls` string[], required — A list of pre signed urls that the client can use to download the results of a Usage Export.

## Other responses

- `400` — Unexpected request body provided.
- `401` — Credentials provided are invalid.
- `404` — Entity not found.
- `429` — API rate limits exceeded.
- `500` — Internal server error.

---

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