Search + K

Command Palette

Search for a command to run...

Sign In

Get details about a codespace export

GET /user/codespaces/{codespace_name}/exports/{export_id}
Copy endpoint
https://api.github.com

Gets information about an export of a codespace.

OAuth app tokens and personal access tokens (classic) need the codespace scope to use this endpoint.

Parameters

path Path Parameters

Name Type
codespace_name required

The name of the codespace.

string
export_id required

The ID of the export operation, or latest. Currently only latest is currently supported.

string

Responses

200 application/json

Response

interface CodespaceExportDetails {
state?: string | null;
completed_at?: string | null;
branch?: string | null;
sha?: string | null;
id?: string;
export_url?: string;
html_url?: string | null;
}

Client Errors

404 application/json

Resource not found

interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}