---
updatedAt: 2026-09-02T17:35:26.000Z
agentTools:
  projectIndex: https://docs.go.v7labs.com/llms.txt
---

# List active entity IDs in a Project

Returns active entity IDs in a given Project

**Note:** `project_id` is the same as `agent_id`

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "Common.APIErrorDetails": {
        "description": "Additional structured error context. Shape varies by error code.\n\n- For conflict errors: contains a `conflicts` array with conflicting resources\n- For other errors: may contain arbitrary error-specific context",
        "nullable": true,
        "oneOf": [
          {
            "$ref": "#/components/schemas/Common.ConflictErrorDetails"
          },
          {
            "additionalProperties": true,
            "description": "Generic error details for non-conflict errors",
            "type": "object"
          }
        ],
        "title": "Common.APIErrorDetails"
      },
      "Pagination.Cursor": {
        "description": "A base64 encoded value representing a cursor, or an element ID if applicable",
        "example": "ZXhhbXBsZQo=",
        "nullable": true,
        "title": "Pagination.Cursor",
        "type": "string"
      },
      "Projects.ListEntities.ListEntitiesOrderBy": {
        "description": "List of property slugs/ids to order by",
        "example": [
          "id"
        ],
        "items": {
          "type": "string"
        },
        "nullable": true,
        "title": "Projects.ListEntities.ListEntitiesOrderBy",
        "type": "array"
      },
      "Pagination.OrderDirections": {
        "description": "List of order directions for the fields in `order_by`. The `*_nulls_last` / `*_nulls_first` variants control where empty values are placed.",
        "example": [
          "desc_nulls_last",
          "asc"
        ],
        "items": {
          "enum": [
            "asc",
            "desc",
            "asc_nulls_last",
            "asc_nulls_first",
            "desc_nulls_last",
            "desc_nulls_first"
          ],
          "type": "string"
        },
        "nullable": true,
        "title": "Pagination.OrderDirections",
        "type": "array"
      },
      "Common.ConflictErrorDetails": {
        "additionalProperties": false,
        "description": "Details for conflict errors",
        "properties": {
          "conflicts": {
            "description": "List of conflicting resources",
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "conflicts"
        ],
        "title": "Common.ConflictErrorDetails",
        "type": "object"
      },
      "Pagination.PageSize": {
        "description": "The page size or limit of the query. Set to the `first` or `last` parameter when using cursor-based pagination.",
        "example": 50,
        "minimum": 1,
        "title": "Pagination.PageSize",
        "type": "integer"
      },
      "Common.UUID": {
        "example": "e23ff3f3-8f77-4e78-9e81-fdb25abfb781",
        "format": "uuid",
        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
        "title": "Common.UUID",
        "type": "string"
      },
      "Pagination.PageMetadata": {
        "additionalProperties": false,
        "description": "Metadata returns for paginated requests. The values set depend on the type of pagination used",
        "properties": {
          "current_offset": {
            "$ref": "#/components/schemas/Pagination.Offset"
          },
          "end_cursor": {
            "$ref": "#/components/schemas/Pagination.Cursor"
          },
          "has_next_page": {
            "example": true,
            "type": "boolean"
          },
          "has_previous_page": {
            "example": false,
            "type": "boolean"
          },
          "page_size": {
            "$ref": "#/components/schemas/Pagination.PageSize"
          },
          "start_cursor": {
            "$ref": "#/components/schemas/Pagination.Cursor"
          },
          "total_count": {
            "$ref": "#/components/schemas/Pagination.TotalCount"
          }
        },
        "required": [
          "current_offset",
          "page_size",
          "start_cursor",
          "end_cursor",
          "has_next_page",
          "has_previous_page",
          "total_count"
        ],
        "title": "Pagination.PageMetadata",
        "type": "object"
      },
      "Pagination.TotalCount": {
        "description": "The total count of records for the given query. Always `null` when using cursor-based  pagination.",
        "example": 50,
        "nullable": true,
        "title": "Pagination.TotalCount",
        "type": "integer"
      },
      "Pagination.Offset": {
        "description": "The offset to use when paginating records",
        "example": 50,
        "minimum": 0,
        "nullable": true,
        "title": "Pagination.Offset",
        "type": "integer"
      },
      "Pagination.Last": {
        "description": "The number of records to return for before the provided cursor; used in combination with `before`",
        "example": 50,
        "nullable": true,
        "title": "Pagination.Last",
        "type": "integer"
      },
      "Pagination.First": {
        "description": "The number of records to return after the provided cursor; used in combination with `after`",
        "example": 50,
        "nullable": true,
        "title": "Pagination.First",
        "type": "integer"
      },
      "Common.APIError": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "example": "bad_request",
            "type": "string"
          },
          "details": {
            "$ref": "#/components/schemas/Common.APIErrorDetails"
          },
          "message": {
            "example": "Bad Request",
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "title": "Common.APIError",
        "type": "object"
      },
      "Projects.ListEntities.ListEntityIdsResponse": {
        "additionalProperties": false,
        "description": "List entity IDs response",
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Common.UUID"
            },
            "type": "array"
          },
          "metadata": {
            "$ref": "#/components/schemas/Pagination.PageMetadata"
          }
        },
        "required": [
          "data",
          "metadata"
        ],
        "title": "Projects.ListEntities.ListEntityIdsResponse",
        "type": "object"
      },
      "Pagination.Limit": {
        "description": "The maximum number of records to return when using `offset` pagination",
        "example": 50,
        "minimum": 0,
        "nullable": true,
        "title": "Pagination.Limit",
        "type": "integer"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      },
      "BearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "V7 Go API",
    "version": "0.1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/api/workspaces/{workspace_id}/projects/{project_id}/entity_ids": {
      "get": {
        "callbacks": {},
        "description": "Returns active entity IDs in a given Project",
        "operationId": "entity-id-list",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "workspace_id",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "parent_entity_id",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "active_view_id",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          },
          {
            "description": "List of property slugs/ids to order by",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Projects.ListEntities.ListEntitiesOrderBy"
            }
          },
          {
            "description": "List of order directions for the fields in `order_by`. The `*_nulls_last` / `*_nulls_first` variants control where empty values are placed.",
            "in": "query",
            "name": "order_directions",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Pagination.OrderDirections"
            }
          },
          {
            "description": "The maximum number of records to return when using `offset` pagination",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Pagination.Limit"
            }
          },
          {
            "description": "The offset to use when paginating records",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Pagination.Offset"
            }
          },
          {
            "description": "The number of records to return after the provided cursor; used in combination with `after`",
            "in": "query",
            "name": "first",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Pagination.First"
            }
          },
          {
            "description": "The number of records to return for before the provided cursor; used in combination with `before`",
            "in": "query",
            "name": "last",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Pagination.Last"
            }
          },
          {
            "description": "A base64 encoded value representing a cursor, or an element ID if applicable",
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Pagination.Cursor"
            }
          },
          {
            "description": "A base64 encoded value representing a cursor, or an element ID if applicable",
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/Pagination.Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Projects.ListEntities.ListEntityIdsResponse"
                }
              }
            },
            "description": "Projects.ListEntities.ListEntityIdsResponse"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          }
        },
        "summary": "List active entity IDs in a Project",
        "tags": [
          "Entities"
        ]
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    },
    {
      "ApiKeyAuth": []
    }
  ],
  "servers": [
    {
      "description": "EU",
      "url": "https://go.v7labs.com",
      "variables": {}
    },
    {
      "description": "US",
      "url": "https://go.us.v7labs.com",
      "variables": {}
    },
    {
      "description": "UAE",
      "url": "https://go.uae.v7labs.com",
      "variables": {}
    }
  ]
}
```