Get Org By Id Route
Fetch an org by its base62 id.
Used by the console's switch-org route for global admins jumping to an org they aren't yet a member of. Membership is verified — for non-admin callers a 403 falls out of _require_org_access.
get/api/orgs/by-id/{org_id}
Request
- Base URLhttps://api.codag.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
org_idstring required
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 9 revisions of this API.