organization
Retrieve a single organization.
organization(
id: Int
): Organization
Example
- Query
- Variables
- Response
query (
$id: Int
$active: String
$after: String
$appType: [Int]
$first: Int
$matching: String
$page: Int
$domain: String
$after2: String
$afterTs: String
$beforeTs: String
$excludeAnomalyEvents: Boolean
$excludeEventTypePrefixes: String
$excludeWPCLI: Boolean
$first2: Int
$order: String
$types: String
$id2: Int
$slug: String!
$after3: String
$first3: Int
$matching2: String
$page2: Int
$status: String
$after4: String
$appId: Int
$first4: Int
$matching3: String
$id3: Int!
$active2: Boolean
$after5: String
$first5: Int
$notificationRecipientId: Int
$vin: Boolean
$permissions: [String]
$from: Date
$to: Date
$search: String!
$after6: String
$authMethod: UserAuthMethod
$externalUsers: Boolean
$first6: Int
$id4: Int
$isVIP: Boolean
$page3: Int
$days: Int
$from2: Date
$to2: Date
) {
organization(id: $id) {
apps(
active: $active
after: $after
appType: $appType
first: $first
matching: $matching
page: $page
) {
nextCursor
total
}
authDomains(domain: $domain) {
nextCursor
total
}
considerUsersInactiveAfterDays
enforceSSOAccess
events(
after: $after2
afterTs: $afterTs
beforeTs: $beforeTs
excludeAnomalyEvents: $excludeAnomalyEvents
excludeEventTypePrefixes: $excludeEventTypePrefixes
excludeWPCLI: $excludeWPCLI
first: $first2
order: $order
types: $types
) {
nextCursor
total
}
features {
enabled
slug
}
id
identityProviders(id: $id2) {
nextCursor
total
}
integration(slug: $slug) {
appId
config
envId
id
orgId
requires
slug
status
}
integrations {
total
}
invitations(
after: $after3
first: $first3
matching: $matching2
page: $page2
status: $status
) {
nextCursor
total
}
isFedramp
isHipaa
letsEncryptDisallowed
name
notificationRecipients(
after: $after4
appId: $appId
first: $first4
matching: $matching3
) {
nextCursor
total
}
notificationSubscription(id: $id3) {
active
createdAt
description
entityType
entityValue
id
updatedAt
vin
}
notificationSubscriptions(
active: $active2
after: $after5
first: $first5
notificationRecipientId: $notificationRecipientId
vin: $vin
) {
nextCursor
total
}
pageviews {
apiRequests
appRequests
endDate
startDate
staticRequests
total
}
permissions(permissions: $permissions) {
isAllowed
permission
}
plan {
addOns
codeReviewLevel
numberOfAllowedApplications
numberOfAllowedNonProdEnvironments
planEndDate
planIncludedRequests
planName
planStartDate
ticketSLA
traffic
trafficType
uptimeSLA
}
requestStats(from: $from, to: $to) {
total
}
salesforceId
serviceStatus
slug
subscriptions(search: $search) {
applicationId
endDate
productCode
productFamily
productName
productType
quantity
startDate
}
supportPackage
traffic
trafficType
users(
after: $after6
authMethod: $authMethod
externalUsers: $externalUsers
first: $first6
id: $id4
isVIP: $isVIP
page: $page3
) {
nextCursor
total
}
visitorsStats(days: $days, from: $from2, to: $to2) {
total
}
}
}
{
"id": 42,
"active": "active",
"after": "after",
"appType": [
42
],
"first": 42,
"matching": "matching",
"page": 42,
"domain": "domain",
"after2": "after",
"afterTs": "afterTs",
"beforeTs": "beforeTs",
"excludeAnomalyEvents": true,
"excludeEventTypePrefixes": "excludeEventTypePrefixes",
"excludeWPCLI": true,
"first2": 42,
"order": "order",
"types": "types",
"id2": 42,
"slug": "slug",
"after3": "after",
"first3": 42,
"matching2": "matching",
"page2": 42,
"status": "status",
"after4": "after",
"appId": 42,
"first4": 42,
"matching3": "matching",
"id3": 42,
"active2": true,
"after5": "after",
"first5": 42,
"notificationRecipientId": 42,
"vin": true,
"permissions": [
"permissions"
],
"from": "2024-01-15T00:00:00.000Z",
"to": "2024-01-15T00:00:00.000Z",
"search": "search",
"after6": "after",
"authMethod": "github",
"externalUsers": true,
"first6": 42,
"id4": 42,
"isVIP": true,
"page3": 42,
"days": 42,
"from2": "2024-01-15T00:00:00.000Z",
"to2": "2024-01-15T00:00:00.000Z"
}
{
"data": {
"organization": {
"apps": {
"nextCursor": "nextCursor",
"total": 42
},
"authDomains": {
"nextCursor": "nextCursor",
"total": 42
},
"considerUsersInactiveAfterDays": 42,
"enforceSSOAccess": true,
"events": {
"nextCursor": "nextCursor",
"total": 42
},
"features": [
{
"enabled": true,
"slug": "slug"
}
],
"id": 42,
"identityProviders": {
"nextCursor": "nextCursor",
"total": 42
},
"integration": {
"appId": 42,
"config": {
"key": "value"
},
"envId": 42,
"id": 42,
"orgId": 42,
"requires": [
"requires"
],
"slug": "slug",
"status": "status"
},
"integrations": {
"total": 42
},
"invitations": {
"nextCursor": "nextCursor",
"total": 42
},
"isFedramp": true,
"isHipaa": true,
"letsEncryptDisallowed": true,
"name": "A name",
"notificationRecipients": {
"nextCursor": "nextCursor",
"total": "42"
},
"notificationSubscription": {
"active": true,
"createdAt": "2024-01-15T00:00:00.000Z",
"description": "A description",
"entityType": "entityType",
"entityValue": "entityValue",
"id": 42,
"updatedAt": "2024-01-15T00:00:00.000Z",
"vin": true
},
"notificationSubscriptions": {
"nextCursor": "nextCursor",
"total": "42"
},
"pageviews": {
"apiRequests": "42",
"appRequests": "42",
"endDate": "endDate",
"startDate": "startDate",
"staticRequests": "42",
"total": "42"
},
"permissions": [
{
"isAllowed": true,
"permission": "permission"
}
],
"plan": {
"addOns": [
"addOns"
],
"codeReviewLevel": "codeReviewLevel",
"numberOfAllowedApplications": 42,
"numberOfAllowedNonProdEnvironments": 42,
"planEndDate": "planEndDate",
"planIncludedRequests": 42,
"planName": "planName",
"planStartDate": "planStartDate",
"ticketSLA": "ticketSLA",
"traffic": 42,
"trafficType": "HTTP",
"uptimeSLA": "uptimeSLA"
},
"requestStats": {
"total": "42"
},
"salesforceId": "salesforceId",
"serviceStatus": "serviceStatus",
"slug": "slug",
"subscriptions": [
{
"applicationId": 42,
"endDate": "endDate",
"productCode": "productCode",
"productFamily": "productFamily",
"productName": "productName",
"productType": "productType",
"quantity": 42,
"startDate": "startDate"
}
],
"supportPackage": "supportPackage",
"traffic": 42,
"trafficType": "HTTP",
"users": {
"nextCursor": "nextCursor",
"total": 42
},
"visitorsStats": {
"total": "42"
}
}
}
}
Arguments
organization.id ● Int scalar common
The organization ID.
Type
Organization object common
An organization that owns applications and users in WordPress VIP. This is the primary entry point for organization-scoped app, user, and event traversal.