Use the GraphQL API to query, search, and manage configuration items in the Agentforce IT Service configuration management database (CMDB).
- Query a configuration item by its unique identifier
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using theciByIdquery. - New request body: Query Configuration Item by ID Input
- New response body: Query Configuration Item by ID Output
- Search configuration items with pagination, filtering, and sorting
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using thesearchCIquery. - New request body: Search Configuration Item Input
- New response body: Search Configuration Item Output
- Retrieve the status of a previously submitted asynchronous job
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using thegetStatusquery. - New request body: Get Status of Operation Input
- New response body: Get Status of Operation Output
- Create or update configuration items in bulk
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using theupsertCImutation. - New request body: Upsert Configuration Items Input
- New response body: Upsert Configuration Items Output
- Specify parent and relationship details when upserting configuration items
- Use the new
parentCiIdandrelationshipTypefields in thepayloadof theupsertCImutation. - Delete a configuration item by its unique identifier
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using thedeleteCImutation. - New request body: Delete Configuration Item Input
- New response body: Delete Configuration Item Output
- Delete a configuration item relationship by its unique identifier
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using thedeleteCIRelationshipmutation. - New request body: Delete Configuration Item Relationship Input
- New response body: Delete Configuration Item Relationship Output
- Update one or more attributes of an existing configuration item by its unique identifier
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using theupdateCIByIdmutation. - New request body: Update Configuration Item by ID Input
- New response body: Update Configuration Item by ID Output
- Create or update configuration item relationships in bulk
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using theupsertCIRelationshipmutation. - New request body: Upsert Configuration Item Relationship Input
- New response body: Upsert Configuration Item Relationship Output
- Get child components of a configuration item by unique identifier and component type
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using thegetComponentsByCiIdquery. - New request body: Get Components Input
- New response body: Get Components Output
- Retrieve the audit trail of changes for a configuration item
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using thegetCIHistoryquery. - New request body: Get Configuration Item History Input
- New response body: Get Configuration Item History Output
- Retrieve detailed relationship information for a configuration item
- Make a POST request to the
/service/itsm/v1/cmdb/graphqlresource using thegetCIRelationshipsquery. - New request body: Get Configuration Item Relationship Input
- New response body: Get Configuration Item Relationship Output
- Find configuration items with more precise search filters
- Use the new filter operator values in the existing
operatorfield forsearchCIquery. - Filter configuration items by creation or last modified date
- Use the new
created_atandupdated_atvalues added in the existingfieldforsearchCIquery. - Sort configuration items by creation or last modified date
- Use the new
created_atandupdated_atvalues added in the existingsortKeyfield forsearchCIquery. - Get discovery information when querying a configuration item by ID
- Use the new
discoveryInformationin the existingciByIdquery response. - Authenticate to the CMDB GraphQL API using user sign-in
- Use the new User-Interactive OAuth 2.0 Flow.