Gupy Pathways API

The Pathways API from Gupy, for pathways.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

GET /v1/public/pathways Buscar trilhas da empresa #
GET /v1/public/pathways/{pathwayId} Buscar uma trilha específica #
GET /v1/public/pathways/{pathwayId}/contents Buscar conteúdos de uma trilha específica #
GET /v1/public/pathways/{pathwayId}/employees Buscar participantes de uma trilha específica #
GET /v1/public/pathways/{pathwayId}/groups Buscar grupos de uma trilha específica #
GET /v1/public/pathways/{pathwayId}/participants-report Buscar relatório de indicadores dos participantes de uma trilha #
GET /v1/public/pathways/{pathwayId}/participants/{userId}/contents-report Buscar relatório de conteúdos de um participante na trilha #
POST /v1/public/pathways:batchCreate Criar trilhas em lote (assíncrono) #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gupy:gupy-pathways-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gupy-pathways-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trilhas Pathways API
  description: Documentação da API Rest de Trilhas
  version: '1.0'
  contact: {}
servers:
- url: https://api-pathways.niduu.com
  description: production
tags:
- name: Pathways
paths:
  /v1/public/pathways:
    get:
      tags:
      - Pathways
      operationId: PathwaysPublicAPIController_getPathways
      summary: Buscar trilhas da empresa
      parameters:
      - name: maxPageSize
        required: false
        in: query
        schema:
          default: 10
          type: number
      - name: pageToken
        required: false
        in: query
        description: Token enviado na requisição anterior para buscar a próxima página
        schema:
          type: number
      - name: groupNames
        required: false
        in: query
        schema:
          type: array
          items:
            type: string
      - name: isEnabled
        required: false
        in: query
        schema:
          example: 'true'
          type: boolean
      - name: isRequired
        required: false
        in: query
        schema:
          example: 'true'
          type: boolean
      - name: createdAt
        required: false
        in: query
        description: 'Datas de ínicio e fim no formato ISO 8601: [2025-01-31, 2025-02-01]'
        schema:
          type: array
          items:
            type: string
      - name: name
        required: false
        in: query
        description: Filtrar pelos nomes das trilhas
        schema:
          type: array
          items:
            type: string
      - name: tags
        required: false
        in: query
        description: Filtrar pelas tags das trilhas
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceResponseDTO'
        '401':
          description: Você não possui uma autenticação válida.
      security:
      - GupyAccountManager: []
  /v1/public/pathways/{pathwayId}:
    get:
      tags:
      - Pathways
      operationId: PathwaysPublicAPIController_getPathwayById
      summary: Buscar uma trilha específica
      parameters:
      - name: pathwayId
        required: true
        in: path
        schema:
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceSingleResponseDTO'
        '401':
          description: Você não possui uma autenticação válida.
        '403':
          description: Você não possui permissão para buscar essa trilha.
      security:
      - GupyAccountManager: []
  /v1/public/pathways/{pathwayId}/contents:
    get:
      tags:
      - Pathways
      operationId: PathwaysPublicAPIController_getContents
      summary: Buscar conteúdos de uma trilha específica
      parameters:
      - name: maxPageSize
        required: false
        in: query
        schema:
          default: 10
          type: number
      - name: pageToken
        required: false
        in: query
        description: Token enviado na requisição anterior para buscar a próxima página
        schema:
          type: number
      - name: pathwayId
        required: true
        in: path
        schema:
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentsResponseDTO'
        '401':
          description: Você não possui uma autenticação válida.
      security:
      - GupyAccountManager: []
  /v1/public/pathways/{pathwayId}/employees:
    get:
      tags:
      - Pathways
      operationId: PathwaysPublicAPIController_getEmployees
      summary: Buscar participantes de uma trilha específica
      parameters:
      - name: maxPageSize
        required: false
        in: query
        schema:
          default: 10
          type: number
      - name: pageToken
        required: false
        in: query
        description: Token enviado na requisição anterior para buscar a próxima página
        schema:
          type: number
      - name: finishedAt
        required: false
        in: query
        description: Intervalo de datas no formato ISO 8601,["2025-01-31","2025-02-31"]
        schema:
          type: array
          items:
            type: string
      - name: status
        required: false
        in: query
        description: 'Status do participante na trilha: "TODO"(não iniciada),"FINISHED"(concluída),"UNFINISHED"(Não concluído),"DOING"(em andamento)'
        schema:
          example: FINISHED
          type: string
      - name: pathwayId
        required: true
        in: path
        schema:
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParticipantResponseDTO'
        '401':
          description: Você não possui uma autenticação válida.
        '403':
          description: Você não possui permissão para buscar essa trilha.
      security:
      - GupyAccountManager: []
  /v1/public/pathways/{pathwayId}/groups:
    get:
      tags:
      - Pathways
      operationId: PathwaysPublicAPIController_getGroups
      summary: Buscar grupos de uma trilha específica
      parameters:
      - name: maxPageSize
        required: false
        in: query
        schema:
          default: 10
          type: number
      - name: pageToken
        required: false
        in: query
        description: Token enviado na requisição anterior para buscar a próxima página
        schema:
          type: number
      - name: pathwayId
        required: true
        in: path
        schema:
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupServiceResponseDTO'
        '401':
          description: Você não possui uma autenticação válida.
        '403':
          description: Você não possui permissão para buscar essa trilha.
      security:
      - GupyAccountManager: []
  /v1/public/pathways/{pathwayId}/participants-report:
    get:
      tags:
      - Pathways
      operationId: PathwaysPublicAPIController_getParticipantsReport
      summary: Buscar relatório de indicadores dos participantes de uma trilha
      description: Retorna participantes de trilhas pertencentes à empresa autenticada. O acesso a uma trilha de outra empresa retorna 403.
      parameters:
      - name: pathwayId
        required: true
        in: path
        schema:
          type: number
      - name: search
        required: false
        in: query
        schema:
          type: string
      - name: finishedAt
        required: false
        in: query
        description: Intervalo de conclusão de até 365 dias, sem datas futuras.
        schema:
          type: string
          example: 2025-01-23,2025-05-28
      - name: status
        required: false
        in: query
        schema:
          enum:
          - TODO
          - FINISHED
          - UNFINISHED
          - DOING
          type: string
      - name: maxPageSize
        required: false
        in: query
        schema:
          default: 25
          minimum: 1
          maximum: 100
          type: number
      - name: pageNumber
        required: false
        in: query
        description: Número da página. Quando ausente, usa a página 1.
        schema:
          default: 1
          minimum: 1
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParticipantsReportResponseDto'
        '400':
          description: Parâmetros inválidos. Verifique o identificador da trilha e os filtros enviados.
        '401':
          description: Você não possui uma autenticação válida.
        '403':
          description: Você não possui permissão para buscar essa trilha.
        '404':
          description: Trilha ou empresa não encontrada.
      security:
      - GupyAccountManager: []
  /v1/public/pathways/{pathwayId}/participants/{userId}/contents-report:
    get:
      tags:
      - Pathways
      operationId: PathwaysPublicAPIController_getContentsReport
      summary: Buscar relatório de conteúdos de um participante na trilha
      description: Retorna o progresso por conteúdo de um participante matriculado na trilha. O acesso a uma trilha de outra empresa retorna 403.
      parameters:
      - name: pathwayId
        required: true
        in: path
        schema:
          type: number
      - name: userId
        required: true
        in: path
        description: Identificador do usuário (pathways.users.id), o mesmo campo userId de participants-report.
        schema:
          type: number
      - name: search
        required: false
        in: query
        description: Filtra pelo título do conteúdo.
        schema:
          type: string
      - name: maxPageSize
        required: false
        in: query
        schema:
          default: 25
          minimum: 1
          maximum: 100
          type: number
      - name: pageNumber
        required: false
        in: query
        description: Número da página. Quando ausente, usa a página 1.
        schema:
          default: 1
          minimum: 1
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentsReportResponseDto'
        '400':
          description: Parâmetros inválidos. Verifique os identificadores da trilha, do participante e os filtros enviados.
        '401':
          description: Você não possui uma autenticação válida.
        '403':
          description: Você não possui permissão para buscar essa trilha ou o participante não está matriculado.
        '404':
          description: Trilha ou empresa não encontrada.
      security:
      - GupyAccountManager: []
  /v1/public/pathways:batchCreate:
    post:
      operationId: PathwaysPublicAPIController_batchCreatePathways
      summary: Criar trilhas em lote (assíncrono)
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PathwaysBatchCreateRequestDto'
      responses:
        '202':
          description: Mensagens aceitas para processamento assíncrono
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PathwaysBatchCreateAcceptedResponseDto'
        '400':
          description: Requisição inválida. Verifique os dados enviados.
        '401':
          description: Você não possui uma autenticação válida.
        '403':
          description: Você não possui permissão para criar trilhas em lote.
        '404':
          description: Empresa não encontrada.
      tags:
      - Pathways
      security:
      - GupyAccountManager: []
components:
  schemas:
    ContentsResponseDTO:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/BasicContentDTO'
        nextPageToken:
          type:
          - number
          - 'null'
          example: 245
      required:
      - results
      - nextPageToken
    PathwaysBatchCreateRequestDto:
      type: object
      properties:
        createdByUser:
          type: string
          description: User UID for the creator of the pathways
        pathways:
          minItems: 1
          maxItems: 50
          type: array
          items:
            $ref: '#/components/schemas/PathwaysBatchCreateItemRequestDto'
      required:
      - createdByUser
      - pathways
    PathwayNotificationParamsRequestDto:
      type: object
      properties:
        subject:
          type: string
          description: Subject of the notification
          maxLength: 300
        content:
          type: string
          description: Content of the notification
          maxLength: 300
      required:
      - subject
      - content
    ParticipantPublicApiDTO:
      type: object
      properties:
        id:
          type: number
        name:
          type: string
        email:
          type: string
        cpf:
          type: string
      required:
      - id
      - name
      - email
      - cpf
    ParticipantsReportResponseDto:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/ParticipantReportDto'
        pagination:
          $ref: '#/components/schemas/ParticipantsReportPaginationDto'
      required:
      - results
      - pagination
    PublicApiGroupDTO:
      type: object
      properties:
        id:
          type: number
        name:
          type: string
      required:
      - id
      - name
    ServiceSingleResponseDTO:
      type: object
      properties:
        result:
          $ref: '#/components/schemas/PathwaysPublicApiDTO'
      required:
      - result
    ContentsReportResponseDto:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/ParticipantContentReportDto'
        pagination:
          $ref: '#/components/schemas/ContentsReportPaginationDto'
      required:
      - results
      - pagination
    GroupServiceResponseDTO:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/PublicApiGroupDTO'
        nextPageToken:
          type: number
      required:
      - results
      - nextPageToken
    PathwaysBatchCreateItemRequestDto:
      type: object
      properties:
        name:
          type: string
          description: Name of the pathway
        tags:
          description: Tags of the pathway
          default: []
          type: array
          items:
            type: string
        isRequired:
          type: boolean
          description: Whether the pathway is required
          default: false
        workloadMinutes:
          type: number
          description: Workload of the pathway in minutes
          default: null
        showRanking:
          type: boolean
          description: Whether the pathway should show ranking
          default: false
        hasReenrollment:
          type: boolean
          description: Whether the pathway should have reenrollment config
          default: false
        showCertificate:
          type: boolean
          description: Whether the pathway should show certificate
          default: false
        notificationOnActivate:
          description: Notification text for when the pathway is activated
          allOf:
          - $ref: '#/components/schemas/PathwayNotificationParamsRequestDto'
        notificationOnFinish:
          description: Notification text for when the pathway will finish
          allOf:
          - $ref: '#/components/schemas/PathwayNotificationParamsRequestDto'
      required:
      - name
    ContentsReportLessonDto:
      type: object
      properties:
        unitNumber:
          type: number
        lessonNumber:
          type: number
        name:
          type: string
        answersCount:
          type: number
        score:
          type:
          - number
          - 'null'
      required:
      - unitNumber
      - lessonNumber
      - name
      - answersCount
      - score
    BasicContentDTO:
      type: object
      properties:
        id:
          type: number
          example: 1
        title:
          type: string
          example: Atendimento Básico
        type:
          type: string
          enum:
          - ARTICLE
          - OTHER
          - COURSE
          - PODCAST
          - VIDEO
          - PDF
          - DOCUMENT
          - PRESENTATION
          - SCORM
          - EXTERNAL_COURSE
          example: COURSE
      required:
      - id
      - title
      - type
    PathwaysBatchCreateResultDto:
      type: object
      properties:
        acceptedCount:
          type: number
          description: Number of messages accepted and published (one per pathway)
      required:
      - acceptedCount
    PathwaysPublicApiDTO:
      type: object
      properties:
        id:
          type: number
        name:
          type: string
        isEnabled:
          type: boolean
        isRequired:
          type: boolean
        workload:
          type: string
        createdAt:
          type: string
        updatedAt:
          type: string
        settings:
          $ref: '#/components/schemas/PathwaysPublicAPISettingsDTO'
      required:
      - id
      - name
      - isEnabled
      - isRequired
      - workload
      - createdAt
      - updatedAt
      - settings
    PathwaysPublicAPISettingsDTO:
      type: object
      properties:
        startAt:
          type: string
        finishAt:
          type: string
        deadline:
          type: number
      required:
      - startAt
      - finishAt
      - deadline
    ContentsReportPaginationDto:
      type: object
      properties:
        page:
          type: number
          example: 1
        showing:
          type: number
        totalPage:
          type: number
        totalResults:
          type: number
      required:
      - page
      - showing
      - totalPage
      - totalResults
    ParticipantReportDto:
      type: object
      properties:
        name:
          type: string
        nin:
          type:
          - string
          - 'null'
        email:
          type:
          - string
          - 'null'
        startedAt:
          type:
          - string
          - 'null'
          format: date-time
        finishedAt:
          type:
          - string
          - 'null'
          format: date-time
        completedContent:
          type: number
        countContents:
          type: number
        status:
          type: string
          enum:
          - TODO
          - FINISHED
          - UNFINISHED
          - DOING
        userId:
          type: number
        engagement:
          type:
          - number
          - 'null'
        scoreAvg:
          type:
          - number
          - 'null'
      required:
      - name
      - nin
      - email
      - startedAt
      - finishedAt
      - completedContent
      - countContents
      - status
      - userId
      - engagement
      - scoreAvg
    PathwaysBatchCreateAcceptedResponseDto:
      type: object
      properties:
        result:
          $ref: '#/components/schemas/PathwaysBatchCreateResultDto'
      required:
      - result
    ServiceResponseDTO:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/PathwaysPublicApiDTO'
        nextPageToken:
          type: number
      required:
      - results
      - nextPageToken
    ParticipantsReportPaginationDto:
      type: object
      properties:
        page:
          type: number
          example: 1
        showing:
          type: number
        totalPage:
          type: number
        totalResults:
          type: number
      required:
      - page
      - showing
      - totalPage
      - totalResults
    ParticipantResponseDTO:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/ParticipantPublicApiDTO'
        nextPageToken:
          type: number
      required:
      - results
      - nextPageToken
    ParticipantContentReportDto:
      type: object
      properties:
        title:
          type: string
        type:
          type: string
        contentId:
          type: number
        approvalScore:
          type:
          - number
          - 'null'
        hasCertificate:
          type: boolean
        scoreAvg:
          type:
          - number
          - 'null'
        totalLessonsCompleted:
          type:
          - number
          - 'null'
        totalLessons:
          type:
          - number
          - 'null'
        startedAt:
          type:
          - string
          - 'null'
          format: date-time
        finishedAt:
          type:
          - string
          - 'null'
          format: date-time
        engagement:
          type: number
          description: Content progress from 0 to 100
        status:
          type: string
          enum:
          - TODO
          - FINISHED
          - UNFINISHED
          - DOING
        lastLessonAnsweredAt:
          type:
          - string
          - 'null'
          format: date-time
        lessons:
          type: array
          items:
            $ref: '#/components/schemas/ContentsReportLessonDto'
      required:
      - title
      - type
      - contentId
      - approvalScore
      - hasCertificate
      - scoreAvg
      - totalLessonsCompleted
      - totalLessons
      - startedAt
      - finishedAt
      - engagement
      - status
      - lastLessonAnsweredAt
      - lessons
  securitySchemes:
    GupyAccountManager:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Token da central de contas da Gupy
x-provenance:
  method: searched
  source: https://developers.gupy.io/reference
  harvested: '2026-12-03'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://developers.gupy.io/reference/apisettingscontroller_createtoken.md
  - https://developers.gupy.io/reference/contentspublicapicontroller_getcontent.md
  - https://developers.gupy.io/reference/contentspublicapicontroller_getcontentemployees.md
  - https://developers.gupy.io/reference/contentspublicapicontroller_getcontents.md
  - https://developers.gupy.io/reference/employeespublicapicontroller_getemployees.md
  - https://developers.gupy.io/reference/employeespublicapicontroller_getgroups.md
  - https://developers.gupy.io/reference/employeespublicapicontroller_getpathwaydetail.md
  - https://developers.gupy.io/reference/employeespublicapicontroller_getpathways.md
  - https://developers.gupy.io/reference/pathwayspublicapicontroller_batchcreatepathways.md
  - https://developers.gupy.io/reference/pathwayspublicapicontroller_getcontents.md
  - https://developers.gupy.io/reference/pathwayspublicapicontroller_getcontentsreport.md
  - https://developers.gupy.io/reference/pathwayspublicapicontroller_getemployees.md
  - https://developers.gupy.io/reference/pathwayspublicapicontroller_getgroups.md
  - https://developers.gupy.io/reference/pathwayspublicapicontroller_getparticipantsreport.md
  - https://developers.gupy.io/reference/pathwayspublicapicontroller_getpathwaybyid.md
  - https://developers.gupy.io/reference/pathwayspublicapicontroller_getpathways.md
  merge:
    pages: 16
    deduped: 24
    conflicts_kept_first: 0