UiPath Entities API

Perform CRUD operations on custom data entity records

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/uipath-orchestrator-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/orchestrator-job-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/orchestrator-robot-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/orchestrator-queue-definition-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/orchestrator-queue-item-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/orchestrator-asset-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-structure/orchestrator-job-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/automation-hub-automation-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-structure/automation-hub-automation-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/uipath-document-understanding-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-structure/document-understanding-digitization-result-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/data-service-entity-record-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-structure/data-service-entity-record-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-structure/platform-management-user-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/test-manager-test-case-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-structure/test-manager-test-case-structure.json

Other Resources

OpenAPI Specification

uipath-entities-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: UiPath Automation Hub Alerts Entities API
  description: The UiPath Automation Hub API provides access to the automation pipeline and idea management platform, allowing developers to programmatically create, retrieve, and manage automation ideas, projects, and pipeline data. The API is accessible at the tenant-scoped endpoint https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/ and uses token-based authentication generated from the Automation Hub Admin Console. It is designed for organizations building Center of Excellence workflows, integrating Automation Hub data with external tools, or automating pipeline governance processes. A Postman collection and Swagger interface are available for exploring and testing endpoints.
  version: '1.0'
  contact:
    name: UiPath Support
    url: https://support.uipath.com
  termsOfService: https://www.uipath.com/legal/terms-of-use
servers:
- url: https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1
  description: UiPath Automation Cloud Automation Hub
  variables:
    orgName:
      default: your-org
      description: The name of your UiPath organization
    tenantName:
      default: your-tenant
      description: The name of your UiPath tenant
security:
- apiKeyAuth: []
tags:
- name: Entities
  description: Perform CRUD operations on custom data entity records
paths:
  /{entityName}:
    get:
      operationId: listEntityRecords
      summary: UiPath List Records for an Entity
      description: Retrieves a list of records for the specified custom entity type. Supports filtering with query expressions, ordering, pagination via skip and top, and field selection. The available entity names and their fields depend on the schema configured within the tenant's Data Service instance. Requires the DataService.Data.Read or DataService.Data scope.
      tags:
      - Entities
      parameters:
      - $ref: '#/components/parameters/entityName'
        example: example-value
      - name: $filter
        in: query
        required: false
        description: Filter expression to narrow results by field values
        schema:
          type: string
        example: example-value
      - name: $orderby
        in: query
        required: false
        description: Field name and direction to sort results (e.g., CreatedOn desc)
        schema:
          type: string
        example: example-value
      - name: $top
        in: query
        required: false
        description: Maximum number of records to return
        schema:
          type: integer
          minimum: 1
          maximum: 1000
        example: 1
      - name: $skip
        in: query
        required: false
        description: Number of records to skip for pagination
        schema:
          type: integer
          minimum: 0
        example: 1
      - name: $select
        in: query
        required: false
        description: Comma-separated list of field names to include in the response
        schema:
          type: string
        example: example-value
      - name: $expand
        in: query
        required: false
        description: Related entity references to expand inline in the response
        schema:
          type: string
        example: example-value
      responses:
        '200':
          description: A list of entity records matching the query criteria
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityRecordCollection'
              examples:
                listEntityRecords200Example:
                  summary: Default listEntityRecords 200 response
                  x-microcks-default: true
                  value:
                    totalCount: 1
                    value:
                    - {}
                    nextLink: https://cloud.uipath.com/example
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: createEntityRecord
      summary: UiPath Create an Entity Record
      description: Creates a new record for the specified custom entity type. The request body must conform to the entity's schema definition. System-generated fields such as Id, CreatedOn, and CreatedBy are populated automatically and should not be included in the request body. Requires the DataService.Data scope.
      tags:
      - Entities
      parameters:
      - $ref: '#/components/parameters/entityName'
        example: example-value
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntityRecordInput'
            examples:
              createEntityRecordRequestExample:
                summary: Default createEntityRecord request
                x-microcks-default: true
                value: {}
      responses:
        '200':
          description: Entity record created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityRecord'
              examples:
                createEntityRecord200Example:
                  summary: Default createEntityRecord 200 response
                  x-microcks-default: true
                  value:
                    Id: example-value
                    CreatedOn: '2026-01-15T10:30:00Z'
                    CreatedBy: example-value
                    ModifiedOn: '2026-01-15T10:30:00Z'
                    ModifiedBy: example-value
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /{entityName}/{recordId}:
    get:
      operationId: getEntityRecord
      summary: UiPath Get an Entity Record by ID
      description: Retrieves a single entity record by its unique identifier. Returns all fields of the record including system fields. Supports the $select parameter to limit the fields returned. Requires the DataService.Data.Read or DataService.Data scope.
      tags:
      - Entities
      parameters:
      - $ref: '#/components/parameters/entityName'
        example: example-value
      - $ref: '#/components/parameters/recordId'
        example: example-value
      - name: $select
        in: query
        required: false
        description: Comma-separated list of field names to include in the response
        schema:
          type: string
        example: example-value
      - name: $expand
        in: query
        required: false
        description: Related entity references to expand inline in the response
        schema:
          type: string
        example: example-value
      responses:
        '200':
          description: The requested entity record
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityRecord'
              examples:
                getEntityRecord200Example:
                  summary: Default getEntityRecord 200 response
                  x-microcks-default: true
                  value:
                    Id: example-value
                    CreatedOn: '2026-01-15T10:30:00Z'
                    CreatedBy: example-value
                    ModifiedOn: '2026-01-15T10:30:00Z'
                    ModifiedBy: example-value
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    put:
      operationId: updateEntityRecord
      summary: UiPath Update an Entity Record
      description: Updates an existing entity record by its unique identifier. The request body should include only the fields to update. System-managed fields such as Id, CreatedOn, and CreatedBy cannot be modified. ModifiedOn and ModifiedBy are updated automatically. Requires the DataService.Data scope.
      tags:
      - Entities
      parameters:
      - $ref: '#/components/parameters/entityName'
        example: example-value
      - $ref: '#/components/parameters/recordId'
        example: example-value
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntityRecordInput'
            examples:
              updateEntityRecordRequestExample:
                summary: Default updateEntityRecord request
                x-microcks-default: true
                value: {}
      responses:
        '200':
          description: Entity record updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityRecord'
              examples:
                updateEntityRecord200Example:
                  summary: Default updateEntityRecord 200 response
                  x-microcks-default: true
                  value:
                    Id: example-value
                    CreatedOn: '2026-01-15T10:30:00Z'
                    CreatedBy: example-value
                    ModifiedOn: '2026-01-15T10:30:00Z'
                    ModifiedBy: example-value
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      operationId: deleteEntityRecord
      summary: UiPath Delete an Entity Record
      description: Permanently deletes an entity record by its unique identifier. This action cannot be undone. Requires the DataService.Data scope.
      tags:
      - Entities
      parameters:
      - $ref: '#/components/parameters/entityName'
        example: example-value
      - $ref: '#/components/parameters/recordId'
        example: example-value
      responses:
        '204':
          description: Entity record deleted successfully
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /{entityName}/query:
    post:
      operationId: queryEntityRecords
      summary: UiPath Query Entity Records with Advanced Filtering
      description: Performs an advanced query against the entity using a structured filter expression in the request body. Supports complex conditions, nested field filtering, and joining conditions with AND and OR operators. Returns a paginated list of matching records. Requires the DataService.Data.Read or DataService.Data scope.
      tags:
      - Entities
      parameters:
      - $ref: '#/components/parameters/entityName'
        example: example-value
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntityQueryRequest'
            examples:
              queryEntityRecordsRequestExample:
                summary: Default queryEntityRecords request
                x-microcks-default: true
                value:
                  filterGroup:
                    logicalOperator: {}
                    queryFilters: {}
                    filterGroups: {}
                  selectedFields:
                  - example-value
                  orderBy:
                  - {}
                  start: 1
                  limit: 1
      responses:
        '200':
          description: Records matching the query criteria
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityRecordCollection'
              examples:
                queryEntityRecords200Example:
                  summary: Default queryEntityRecords 200 response
                  x-microcks-default: true
                  value:
                    totalCount: 1
                    value:
                    - {}
                    nextLink: https://cloud.uipath.com/example
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  parameters:
    recordId:
      name: recordId
      in: path
      required: true
      description: Unique identifier of the entity record
      schema:
        type: string
    entityName:
      name: entityName
      in: path
      required: true
      description: Name of the custom entity type as defined in the tenant's Data Service schema. Entity names are case-sensitive.
      schema:
        type: string
  schemas:
    EntityQueryRequest:
      type: object
      description: Advanced query request with structured filter conditions
      properties:
        filterGroup:
          $ref: '#/components/schemas/FilterGroup'
        selectedFields:
          type: array
          items:
            type: string
          description: List of field names to include in the response
          example: []
        orderBy:
          type: array
          items:
            $ref: '#/components/schemas/OrderByClause'
          example: []
        start:
          type: integer
          minimum: 0
          description: Zero-based offset for pagination
          example: 1
        limit:
          type: integer
          minimum: 1
          maximum: 1000
          description: Maximum number of records to return
          example: 1
    OrderByClause:
      type: object
      description: Sort specification for query results
      required:
      - fieldName
      properties:
        fieldName:
          type: string
          description: Name of the field to sort by
          example: Example Name
        descending:
          type: boolean
          default: false
          description: Whether to sort in descending order
          example: true
    EntityRecordInput:
      type: object
      description: Input payload for creating or updating an entity record. The specific fields required depend on the entity schema definition. System-managed fields (Id, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy) should not be included.
      additionalProperties: true
    EntityRecord:
      type: object
      description: A single entity record. The specific fields available depend on the entity schema configured in the tenant's Data Service. All records include the following system-managed fields.
      properties:
        Id:
          type: string
          description: Unique system-assigned identifier of the record
          example: abc123
        CreatedOn:
          type: string
          format: date-time
          description: ISO 8601 timestamp when the record was created
          example: '2026-01-15T10:30:00Z'
        CreatedBy:
          type: string
          description: Identifier of the user or process that created the record
          example: example-value
        ModifiedOn:
          type: string
          format: date-time
          description: ISO 8601 timestamp of the last modification
          example: '2026-01-15T10:30:00Z'
        ModifiedBy:
          type: string
          description: Identifier of the user or process that last modified the record
          example: example-value
      additionalProperties: true
    ErrorResponse:
      type: object
      description: Standard error response body
      properties:
        message:
          type: string
          description: Human-readable error message
          example: example-value
        errorCode:
          type: string
          description: Error code identifier
          example: example-value
        traceId:
          type: string
          description: Trace identifier for support and debugging
          example: abc123
    QueryFilter:
      type: object
      description: A single field comparison condition in a query
      required:
      - fieldName
      - operator
      - value
      properties:
        fieldName:
          type: string
          description: Name of the entity field to filter on
          example: Example Name
        operator:
          type: string
          enum:
          - equals
          - notEquals
          - lessThan
          - lessThanOrEquals
          - greaterThan
          - greaterThanOrEquals
          - contains
          - startsWith
          - endsWith
          - isNull
          - isNotNull
          description: Comparison operator for the filter condition
          example: equals
        value:
          description: Value to compare against; type depends on the field type
          example: example-value
    FilterGroup:
      type: object
      description: A group of filter conditions joined by a logical operator
      properties:
        logicalOperator:
          type: string
          enum:
          - AND
          - OR
          description: Logical operator combining the conditions in this group
          example: AND
        queryFilters:
          type: array
          items:
            $ref: '#/components/schemas/QueryFilter'
          description: List of individual field filter conditions
          example: []
        filterGroups:
          type: array
          items:
            $ref: '#/components/schemas/FilterGroup'
          description: Nested filter groups for complex query expressions
          example: []
    EntityRecordCollection:
      type: object
      description: A paginated collection of entity records
      properties:
        totalCount:
          type: integer
          description: Total number of records matching the query
          example: 42
        value:
          type: array
          items:
            $ref: '#/components/schemas/EntityRecord'
          description: Array of entity records for the current page
          example: []
        nextLink:
          type: string
          format: uri
          description: URL for the next page of results, if more records are available
          example: https://cloud.uipath.com/example
  responses:
    NotFound:
      description: The requested entity type or record was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: The authenticated user does not have permission to perform this action
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: The request lacks valid authentication credentials
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: The request was malformed or the entity schema was violated
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'API token generated from the Automation Hub Admin Console under Platform Setup > Open API. Include as a Bearer token in the Authorization header: "Bearer {token}".'
externalDocs:
  description: UiPath Automation Hub API Documentation
  url: https://docs.uipath.com/automation-hub/automation-cloud/latest/api-guide/introduction-to-automation-hub-api-1