GET/user/codespaces/{codespace_name}/exports/{export_id}

Get details about a codespace export

Gets information about an export of a codespace.

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

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
codespace_namestringrequired
The name of the codespace.
export_idstringrequired
The ID of the export operation, or `latest`. Currently only `latest` is currently supported.

2 status codes
200Response
statestringoptional
State of the latest export
completed_atstringoptional
Completion time of the last export operation
branchstringoptional
Name of the exported branch
shastringoptional
Git commit SHA of the exported branch
idstringoptional
Id for the export details
export_urlstringoptional
Url for fetching export details
html_urlstringoptional
Web url for the exported branch
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned: Resource not found.

Was this helpful?