---
title: "Credential info"
method: GET
path: "/dev/credential_info/v1"
tags: ["/dev"]
---

# Credential info

`GET /dev/credential_info/v1`

Returns the verified caller identity and raw credential claims for development purposes. | () -> (CredentialInfoRes)

## Response `200`

Successful Response

- CredentialInfoRes
  - `credential_type` 'session_jwt' | 'api_key' | 'internal_delegation_jwt', required
  - `caller` Caller, required
    - `credential_type` 'session_jwt' | 'api_key' | 'internal_delegation_jwt', required
    - `credential` string, nullable
    - `user_id` string, required — Must be a string starting with `user_`
    - `org_id` string, required — Must be a string starting with `org_`
    - `org_role` 'owner' | 'admin' | 'operator' | 'member' — Organization roles used in authenticated caller claims. Hierarchy (highest to lowest): owner > admin > operator > member Role availability by org type: {owner, admin, operator, member} → PROVIDER | SHIPPER Note: Hierarchical enforcement depends on utils_shipping_authz helper functions. WorkOS role slugs match these enum values.
    - `org_type` 'provider' | 'shipper' | 'vendor'
    - `org_subscription` boolean, nullable
    - `user_email` string, nullable
  - `raw_claims` object, required

---

[API](https://skmtc.dev/chrt/apis/chrt-fastapi.md) · [All operations](https://skmtc.dev/chrt/apis/chrt-fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chrt/chrt-fastapi/revisions/ea04e157edb3/schema)
