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

# Public services browse

> Lists active, currently eligible services, optionally filtered by exact category and subcategory names.



## OpenAPI

````yaml https://raw.githubusercontent.com/prefeitura-rio/app-catalogo/refs/heads/main/docs/openapi-v3.json get /api/public/services
openapi: 3.0.0
info:
  contact:
    name: Prefeitura do Rio de Janeiro
    url: https://github.com/prefeitura-rio/app-catalogo
  description: >-
    Discovery layer unificada da Prefeitura do Rio de Janeiro. Indexa serviços
    públicos, cursos, vagas e oportunidades MEI com busca full-text e
    recomendação personalizada por perfil de cidadão.
  title: app-catalogo
  version: '1.0'
servers:
  - url: https://services.staging.app.dados.rio/catalogo
    description: Staging
  - url: https://services.pref.rio/catalogo
    description: Produção
security: []
paths:
  /api/public/services:
    get:
      tags:
        - catálogo
      summary: Public services browse
      description: >-
        Lists active, currently eligible services, optionally filtered by exact
        category and subcategory names.
      parameters:
        - description: Exact category name
          in: query
          name: category
          schema:
            type: string
        - description: Exact subcategory name
          in: query
          name: subcategory
          schema:
            type: string
        - description: Page
          in: query
          name: page
          schema:
            default: 1
            minimum: 1
            type: integer
        - description: Items per page
          in: query
          name: per_page
          schema:
            default: 20
            maximum: 100
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.PublicServiceListResponse'
          description: OK
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        '400':
          content:
            application/json:
              schema:
                additionalProperties:
                  type: string
                type: object
          description: Bad Request
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                additionalProperties:
                  type: string
                type: object
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
components:
  schemas:
    models.PublicServiceListResponse:
      properties:
        catalog_revision:
          type: string
        items:
          items:
            $ref: '#/components/schemas/models.PublicServiceSummary'
          type: array
        page:
          type: integer
        per_page:
          type: integer
        total:
          type: integer
      required:
        - catalog_revision
        - items
        - page
        - per_page
        - total
      type: object
    models.PublicServiceSummary:
      properties:
        category:
          type: string
        id:
          format: uuid
          type: string
        modality:
          type: string
        organization:
          type: string
        slug:
          type: string
        subcategory:
          type: string
        summary:
          type: string
        title:
          type: string
        url:
          format: uri
          type: string
      required:
        - id
        - slug
        - title
      type: object
  headers:
    X-Request-ID:
      description: Canonical UUID used to correlate the response with application logs.
      schema:
        format: uuid
        type: string

````