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

# Get content components

> Get all components or a specific component type

Returns content components (body, SEO metadata, schemas, social snippets, etc.). Optionally filter by component type.

**Scope required:** `content:read`

## Path parameters

<ParamField path="id" type="string" required>UUID of the content.</ParamField>

## Optional path

Append `/{type}` to get a single component type. The type parameter is **case-insensitive** — `body`, `Body`, and `BODY` all work:

```
GET /content/{id}/components/seoMetadata
GET /content/{id}/components/SEOMETADATA
```

Available component types: `body`, `seoMetadata`, `pageSlugs`, `postTags`, `blogCategories`, `searchIntent`, `facebookSnip`, `twitterSnip`, `instagramSnip`, `googleBusinessSnip`, `videoScript`, `imagePrompt`, `articleSchema`, `authorSchema`, `organizationSchema`, `vehicleListingSchema`, `faqSchema`, `eventSchema`, `qaPageSchema`, `webPageSchema`, `webSiteSchema`, `breadcrumbSchema`, `layout_html`.

See [Component types](/api-reference/reference/component-types) for the full reference.

<ResponseExample>
  ```json 200 theme={"theme":{"light":"github-light","dark":"github-dark"}}
  {
    "data": {
      "components": [
        {
          "id": "89590820-899c-457a-8325-411011d65e92",
          "type": "imagePrompt",
          "content": "A commanding 2026 Chevy Silverado 3500 DRW pickup truck, gleaming metallic blue...",
          "metadata": null,
          "status": "complete",
          "created_at": "2026-02-27T21:42:56.812584+00:00",
          "updated_at": "2026-02-27T21:43:02.084779+00:00"
        },
        {
          "id": "efa776ff-2ab4-4ac7-b591-9468e1c120f5",
          "type": "body",
          "content": "## Unveiling the Power and Performance of the 2026 Chevy Silverado 3500 DRW\n\nThe 2026 Chevy Silverado 3500 DRW is engineered to deliver...",
          "metadata": null,
          "status": "complete",
          "created_at": "2026-02-27T21:41:23.938039+00:00",
          "updated_at": "2026-02-27T21:42:56.625882+00:00"
        },
        {
          "id": "e2d8a670-2f83-466c-b829-e21a9b70ab58",
          "type": "searchIntent",
          "content": "Commercial Intent",
          "metadata": null,
          "status": "complete",
          "created_at": "2026-02-27T21:42:56.810587+00:00",
          "updated_at": "2026-02-27T21:42:57.458068+00:00"
        }
      ]
    }
  }
  ```
</ResponseExample>

When requesting a single component type, the response returns the component object directly instead of the `components` array:

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "data": {
    "id": "efa776ff-2ab4-4ac7-b591-9468e1c120f5",
    "type": "body",
    "content": "## Unveiling the Power and Performance of the 2026 Chevy Silverado 3500 DRW\n\n...",
    "metadata": null,
    "status": "complete",
    "created_at": "2026-02-27T21:41:23.938039+00:00",
    "updated_at": "2026-02-27T21:42:56.625882+00:00"
  }
}
```


## OpenAPI

````yaml GET /content/{id}/components
openapi: 3.1.0
info:
  title: Hrizn Public API
  version: 1.2.0
  description: >
    The Hrizn Public API allows partners to programmatically create content,
    manage inventory descriptions, and integrate with the Hrizn platform.


    All endpoints are prefixed with `/public` and require an API key passed via
    the `X-API-Key` header (except the health check).
  contact:
    email: support@hrizn.io
servers:
  - url: https://api.app.hrizn.io/v1/public
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: IdeaClouds
    description: Create and manage AI-powered keyword research
  - name: Content Intelligence
    description: AI-powered content gap analysis and recommendations
  - name: Content
    description: Generate content from IdeaClouds
  - name: Compliance
    description: Run OEM compliance checks on content
  - name: Content Tools
    description: Generate SEO metadata, schemas, and social snippets
  - name: Inventory
    description: Access vehicle data and AI descriptions
  - name: Site
    description: View dealership details and configuration
  - name: Webhooks
    description: Manage webhook subscriptions for real-time events
  - name: Reference
    description: Look up available types, scopes, and events
  - name: Social
    description: >-
      Zernio-backed social posting and reviews across all connected platforms
      (X, Facebook, Instagram, LinkedIn, Google Business Profile)
  - name: Health
    description: Health check (no authentication)
paths:
  /content/{id}/components:
    get:
      tags:
        - Content
      summary: Get all components
      operationId: getContentComponents
      parameters:
        - $ref: '#/components/parameters/ContentId'
      responses:
        '200':
          description: All content components
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArticleComponentsResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    ContentId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Content ID
  schemas:
    ArticleComponentsResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            components:
              type: array
              items:
                $ref: '#/components/schemas/ComponentDetail'
    ComponentDetail:
      type: object
      properties:
        id:
          type: string
        type:
          $ref: '#/components/schemas/ComponentType'
        content:
          type: object
        metadata:
          type: object
        status:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: validation_error
            message:
              type: string
              example: 'keyword: Required'
            details:
              type: object
            request_id:
              type: string
    ComponentType:
      type: string
      description: >
        Component type identifier (camelCase). The path parameter is
        case-insensitive (e.g. `body`, `Body`, and `BODY` all work), but the API
        returns the canonical camelCase form in responses.
      enum:
        - body
        - seoMetadata
        - pageSlugs
        - postTags
        - blogCategories
        - searchIntent
        - facebookSnip
        - twitterSnip
        - instagramSnip
        - googleBusinessSnip
        - videoScript
        - articleSchema
        - authorSchema
        - organizationSchema
        - vehicleListingSchema
        - faqSchema
        - eventSchema
        - qaPageSchema
        - layout_html
  responses:
    BadRequest:
      description: Validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: API key lacks required scope
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your Hrizn API key (prefix hzk_)

````