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

# Get workflow schema

> Returns the JSON Schema for the workflow `definition` (steps + flow graph). Use it for client-side validation and to generate editor property panels. Static — independent of org.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workflows/definition-schema
openapi: 3.1.0
info:
  title: Sidenet API
  version: 1.0.0
  description: >-
    Sidenet HTTP endpoints exposed by the Sidenet Studio. All routes require an
    api key that can be generated through the studio in studio.sidenet.ai.
servers:
  - url: https://api.sidenet.ai
security:
  - bearerAuth: []
paths:
  /v1/workflows/definition-schema:
    get:
      tags:
        - Workflows
      summary: Get workflow schema
      description: >-
        Returns the JSON Schema for the workflow `definition` (steps + flow
        graph). Use it for client-side validation and to generate editor
        property panels. Static — independent of org.
      parameters: []
      responses:
        '200':
          description: >-
            The JSON Schema for a workflow `definition` — draft-07, with the
            step kinds as named definitions. The body IS the schema; there is no
            envelope around it.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  A JSON Schema document. `$defs` holds one definition per step
                  kind (agent, tool, workflow, condition, …).
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organization API key, generated in studio.sidenet.ai. Backend only —
        never in a browser.

````