---
title: "SudoGetResource returns details about a resource by ID lookup"
method: GET
path: "/v1/superuser/resource"
---

# SudoGetResource returns details about a resource by ID lookup

`GET /v1/superuser/resource`

## Query parameters

- `userId` string
- `orgId` string
- `projectId` string
- `deploymentId` string
- `instanceId` string

## Response `200`

A successful response.

- V1SudoGetResourceResponse
  - `deployment` V1Deployment
    - `branch` string
    - `createdOn` string, date-time
    - `editable` boolean
    - `environment` string
    - `id` string
    - `ownerUserId` string
    - `projectId` string
    - `runtimeHost` string
    - `runtimeInstanceId` string
    - `status` 'DEPLOYMENT_STATUS_UNSPECIFIED' | 'DEPLOYMENT_STATUS_PENDING' | 'DEPLOYMENT_STATUS_RUNNING' | 'DEPLOYMENT_STATUS_ERRORED' | 'DEPLOYMENT_STATUS_STOPPED' | 'DEPLOYMENT_STATUS_UPDATING' | 'DEPLOYMENT_STATUS_STOPPING' | 'DEPLOYMENT_STATUS_DELETING' | 'DEPLOYMENT_STATUS_DELETED'
    - `statusMessage` string
    - `updatedOn` string, date-time
    - `usedOn` string, date-time
  - `instance` V1Deployment
    - `branch` string
    - `createdOn` string, date-time
    - `editable` boolean
    - `environment` string
    - `id` string
    - `ownerUserId` string
    - `projectId` string
    - `runtimeHost` string
    - `runtimeInstanceId` string
    - `status` 'DEPLOYMENT_STATUS_UNSPECIFIED' | 'DEPLOYMENT_STATUS_PENDING' | 'DEPLOYMENT_STATUS_RUNNING' | 'DEPLOYMENT_STATUS_ERRORED' | 'DEPLOYMENT_STATUS_STOPPED' | 'DEPLOYMENT_STATUS_UPDATING' | 'DEPLOYMENT_STATUS_STOPPING' | 'DEPLOYMENT_STATUS_DELETING' | 'DEPLOYMENT_STATUS_DELETED'
    - `statusMessage` string
    - `updatedOn` string, date-time
    - `usedOn` string, date-time
  - `org` V1Organization
    - `billingCustomerId` string
    - `billingEmail` string
    - `billingPlanDisplayName` string
    - `billingPlanName` string
    - `createdOn` string, date-time
    - `customDomain` string
    - `defaultProjectRoleId` string
    - `description` string
    - `displayName` string
    - `faviconUrl` string
    - `id` string
    - `logoDarkUrl` string
    - `logoUrl` string
    - `name` string
    - `paymentCustomerId` string
    - `quotas` V1OrganizationQuotas
      - `deployments` integer
      - `outstandingInvites` integer
      - `projects` integer
      - `seats` integer
      - `slotsPerDeployment` integer
      - `slotsTotal` integer
      - `storageLimitBytesPerDeployment` string, int64
    - `thumbnailUrl` string
    - `updatedOn` string, date-time
  - `project` V1Project
    - `annotations` object
    - `archiveAssetId` string
    - `createdByUserId` string
    - `createdOn` string, date-time
    - `description` string
    - `devSlots` string, int64
    - `devTtlSeconds` string, int64
    - `directoryName` string
    - `frontendUrl` string — Note: Does NOT incorporate the parent org's custom domain.
    - `gitRemote` string
    - `id` string
    - `managedGitId` string — managed_git_id is set if the project is connected to a rill-managed git repo.
    - `name` string
    - `orgId` string
    - `orgName` string
    - `overrideDiskGb` string, int64
    - `primaryBranch` string
    - `primaryDeploymentId` string
    - `prodSlots` string, int64
    - `prodTtlSeconds` string, int64
    - `prodVersion` string
    - `provisioner` string
    - `public` boolean
    - `subpath` string
    - `updatedOn` string, date-time
  - `user` V1User
    - `createdOn` string, date-time
    - `displayName` string
    - `email` string
    - `id` string
    - `photoUrl` string
    - `pylonEmailHash` string
    - `quotas` V1UserQuotas
      - `singleuserOrgs` integer
      - `trialOrgs` integer
    - `updatedOn` string, date-time

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.net/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/289a0ca9ce49/schema)
