Skip to content
URL:
https://<root>/portals/[portalID]/aiServices/status
Methods:
GET
Version Introduced:
12.0

Example usage

The following is a sample ArcGIS Enterprise request URL used to access the status resource:

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/sharing/rest/portals/0123456789ABCDEF/aiServices/status?f=pjson&token=<token>

Description

The status resource returns whether the organization has stored ArcGIS Online credentials, enabling the use of AI assistants. This resource can be accessed by any organization member.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

The following response is returned if ArcGIS Online credentials have not been stored:

Use dark colors for code blocksCopy
1
{"success": false}

If ArcGIS Online credentaials have been stored, this resource returns the following response:

Use dark colors for code blocksCopy
1
{"success": true}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.