Get a pack by id
GET
/packs/{id}
const url = 'https://your-org.evershell.ai/v1/packs/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-org.evershell.ai/v1/packs/example \ --header 'Authorization: Bearer <token>'Permissions: any signed-in caller.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
id
required
string
org_id
Owning org id. Redacted to absent on packs the caller
doesn’t own (platform-shipped + foreign community
packs) — use owned to distinguish.
string
name
required
string
display_name
required
string
description
string
version
required
string
tier
required
string
visibility
required
string
category
string
capabilities
Caps.yaml fragment shipped by the pack
string
suggested_packs
Comma-separated names of related packs (display hint).
string
image_origin
Where the image was pushed from (upload, image_ref, clone).
string
image_ref
string
image_digest
string
size_bytes
integer
created_at
string format: date-time
updated_at
string format: date-time
owned
required
True when the pack is org-scoped to the caller’s org.
boolean
Example
{ "id": "pack_01HZ", "version": "1.2.0", "tier": "recommended", "visibility": "org"}Resource not found in the caller’s org
Media type application/json
object
error
required
object
code
required
Closed-enum slug (e.g. permission_denied, validation_error, workspace_not_found)
string
message
required
Human-readable summary
string
request_id
required
Server-generated request id for correlating logs
string
details
Optional structured context. Validation errors land at
details.fields as a per-field map.
object
key
additional properties
any
Example
{ "error": { "code": "permission_denied", "message": "caller lacks required scope", "request_id": "7f3a9c2e" }}