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

# Workflow metadata without source bytes

> `{name}` is a served name exactly as GET /v1/workflows lists it: a project-relative path that usually contains `/` (`workflows/daily.nika`). Send its `/` separators literally, as path separators: GET /v1/workflows/workflows/daily.nika. A served name uses only ASCII letters, digits, `.`, `_`, `-` and `/`, so no segment needs percent-encoding; an encoded separator (`%2F`) or any other escape is not decoded and answers 404.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workflows/{name}
openapi: 3.1.0
info:
  description: >-
    Authenticated loopback remote execution, declarative schedules, verified
    downloads of the artifacts a settled job's sealed journal records, and
    stateless source-only authoring (POST /v1/compile never runs, admits or
    writes). Schedule list/delete/trigger/backfill, /v1/arm, and POST /v1/run
    are absent.
  title: nika serve
  version: 0.124.1
servers:
  - url: http://127.0.0.1
security:
  - bearerAuth: []
paths:
  /v1/workflows/{name}:
    get:
      summary: Workflow metadata without source bytes
      description: >-
        `{name}` is a served name exactly as GET /v1/workflows lists it: a
        project-relative path that usually contains `/`
        (`workflows/daily.nika`). Send its `/` separators literally, as path
        separators: GET /v1/workflows/workflows/daily.nika. A served name uses
        only ASCII letters, digits, `.`, `_`, `-` and `/`, so no segment needs
        percent-encoding; an encoded separator (`%2F`) or any other escape is
        not decoded and answers 404.
      parameters:
        - description: >-
            The served name, `/` separators sent literally (it spans several
            path segments)
          in: path
          name: name
          required: true
          schema:
            minLength: 1
            pattern: ^[A-Za-z0-9._-]+(/[A-Za-z0-9._-]+)*\.nika$
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowMetadata'
          description: Contained name
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Error envelope
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Error envelope
components:
  schemas:
    WorkflowMetadata:
      additionalProperties: false
      properties:
        workflow:
          minLength: 1
          type: string
      required:
        - workflow
      type: object
    Error:
      additionalProperties: false
      properties:
        error:
          additionalProperties: false
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
  securitySchemes:
    bearerAuth:
      description: 'Exactly one Authorization: Bearer value from the token file'
      scheme: bearer
      type: http

````

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