Skip to content
  • Auto
  • Light
  • Dark
Get Started

Retrieve

Get
client.Apps.Get(ctx, id) (*AppC1APIAppV1AppAppGetResponse, error)
get/api/v1/apps/{id}

Get an app by ID.

Parameters
idstring

The id field.

Returns
AppGetResponsestruct

The GetAppResponse message contains the details of the requested app in the app field.

Hide ParametersShow Parameters
AppIDstringAppAccountIDstringAppAccountNamestringAppOwnersarrayCertifyPolicyIDstringConnectorVersionint64CreatedAtTimeDefaultRequestCatalogIDstringDeletedAtTimeDescriptionstringDisplayNamestringFieldMaskstringGrantPolicyIDstringIconURLstringIdentityMatchingC1APIAppV1AppIdentityMatchingInstructionsstringIsDirectoryboolIsManuallyManagedboolLogoUristringMonthlyCostUsdint64ParentAppIDstringRevokePolicyIDstringStrictAccessEntitlementProvisioningboolUpdatedAtTimeUserCountstringC1APIAppV1App
optional

The App object provides all of the details for an app, as well as some configuration.

Request example Go
package main

import (
  "context"
  "fmt"

  "github.com/stainless-sdks/-go"
  "github.com/stainless-sdks/-go/option"
)

func main() {
  client := conductoronesdk.NewClient(
    option.WithAPIKey("My API Key"),
  )
  app, err := client.Apps.Get(context.TODO(), "id")
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", app.App)
}
200 Example
{
  "app": {
    "certifyPolicyId": "certifyPolicyId",
    "connectorVersion": 0,
    "defaultRequestCatalogId": "defaultRequestCatalogId",
    "description": "description",
    "displayName": "displayName",
    "grantPolicyId": "grantPolicyId",
    "iconUrl": "iconUrl",
    "identityMatching": "APP_USER_IDENTITY_MATCHING_UNSPECIFIED",
    "instructions": "instructions",
    "isManuallyManaged": true,
    "monthlyCostUsd": 0,
    "revokePolicyId": "revokePolicyId",
    "strictAccessEntitlementProvisioning": true
  }
}