> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vectoraidb.actian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get single point

> Retrieve full information for a single point by its ID, including its vector and payload.



## OpenAPI

````yaml get /collections/{collection_name}/points/{id}
openapi: 3.0.3
info:
  title: Actian VectorAI DB - Points API
  description: Point CRUD operations for VectorAI DB.
  version: 1.0.0
  contact:
    name: Actian Corporation
    url: https://www.actian.com
servers:
  - url: http://localhost:6573
    description: Local development server (REST API)
  - url: https://api.vectorai.actian.com
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Points
    description: Point data operations
paths:
  /collections/{collection_name}/points/{id}:
    get:
      tags:
        - Points
      summary: Get single point
      description: >-
        Retrieve full information for a single point by its ID, including its
        vector and payload.
      operationId: get_point
      parameters:
        - name: collection_name
          in: path
          required: true
          schema:
            type: string
          description: The name of the collection containing the point.
          example: my_collection
        - name: id
          in: path
          required: true
          schema:
            oneOf:
              - type: integer
              - type: string
          example: 1
          description: >-
            The unique identifier of the point to retrieve. Accepts an integer
            or a UUID string.
      responses:
        '200':
          description: Point retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  usage:
                    type: object
                    description: Resource usage information for this request.
                    properties:
                      hardware:
                        type: object
                        nullable: true
                        description: >-
                          Hardware resource counters for the operation,
                          including CPU, payload I/O, payload index I/O, and
                          vector I/O metrics.
                  time:
                    type: number
                    format: double
                    example: 0.000161149
                    description: Time spent to process this request, in seconds.
                  status:
                    type: string
                    example: ok
                    description: Operation status. Returns `ok` on success.
                  result:
                    type: object
                    description: The retrieved point.
                    properties:
                      id:
                        oneOf:
                          - type: integer
                          - type: string
                        example: 1
                        description: The point's unique identifier.
                      payload:
                        type: object
                        nullable: true
                        example:
                          category: electronics
                          price: 299.99
                        description: JSON payload metadata associated with the point.
                      vector:
                        type: array
                        nullable: true
                        example:
                          - 0.1
                          - 0.2
                          - 0.3
                          - 0.4
                        description: The vector embedding for the point.
              example:
                usage:
                  hardware: null
                time: 0.000161149
                status: ok
                result:
                  id: 1
                  payload: '{"category":"electronics","price":299.99}'
                  vector: >-
                    [0.10000000149011612,0.20000000298023224,0.30000001192092896,0.4000000059604645]
        4XX:
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-codeSamples:
        - lang: Python
          label: Get single point
          source: |
            from actian_vectorai_client import VectorAIClient

            with VectorAIClient("localhost:6574") as client:
                # Get single point by ID
                points = client.points.get("my_collection", ids=[1])
                point = points[0]
                
                print(f"ID: {point.id}")
                print(f"Vector: {point.vectors}")
                print(f"Payload: {point.payload}")
        - lang: JavaScript
          label: Get single point
          source: >
            import { VectorAIClient } from '@actian/vectorai-client';


            const client = new VectorAIClient('localhost:6574');


            const points = await client.points.get('my_collection', [1]);

            const point = points[0];

            console.log(`id=${point.id}  vector=${point.vectors} 
            payload=${JSON.stringify(point.payload)}`);


            client.close();
        - lang: cURL
          label: Get point
          source: >
            curl -X GET
            "http://localhost:6573/collections/my_collection/points/1" \
              -H "Accept: application/json" \
              -H 'Authorization: Bearer <admin-jwt-or-access-token>'
components:
  schemas:
    ErrorResponse:
      type: object
      description: Error response returned when a request fails.
      properties:
        status:
          type: object
          description: Status object containing the error message.
          properties:
            error:
              type: string
              description: Human-readable error message describing what went wrong.
              example: Collection `my_collection` doesn't exist!
        time:
          type: number
          format: double
          description: Time spent to process this request, in seconds.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Admin JWT or access token for authenticating requests to VectorAI DB.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.