> For the complete documentation index, see [llms.txt](https://www.center.daxium-air.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.center.daxium-air.com/api-reference/forms.md).

# Forms

## List all forms

> Returns all available forms with pagination.

```json
{"openapi":"3.0.3","info":{"title":"Daxium Air API","version":"v1.3"},"tags":[{"name":"structures"}],"servers":[{"url":"https://api.daxium-air.com","description":"Production"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"}},"parameters":{"AppShort":{"name":"app_short","in":"path","required":true,"description":"Short name of the workspace instance (e.g. `daxium-test`)","schema":{"type":"string"}}},"schemas":{"StructureListResponse":{"type":"object","properties":{"structures":{"type":"array","items":{"$ref":"#/components/schemas/Structure"}},"total_count":{"type":"integer"},"total_pages":{"type":"integer"},"next_page":{"type":"integer"},"server_time":{"type":"integer","format":"int64"},"workflows":{"type":"array","items":{"$ref":"#/components/schemas/Workflow"}},"required":{"type":"object","properties":{"linked_list_ids":{"type":"array","items":{"type":"integer"}},"structure_ids":{"type":"array","items":{"type":"integer"}}}}}},"Structure":{"type":"object","properties":{"id":{"type":"integer"},"version":{"type":"integer"},"name":{"type":"string"},"created_at":{"type":"integer","format":"int64"},"updated_at":{"type":"integer","format":"int64"},"settings":{"type":"object","additionalProperties":true},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Condition"}},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Field"}},"layout":{"type":"object","properties":{"pages":{"type":"array","items":{}},"fields":{"type":"array","items":{}}}},"workflows":{"type":"array","items":{"$ref":"#/components/schemas/Workflow"}},"triggers":{"type":"array","items":{"$ref":"#/components/schemas/Trigger"}}}},"Condition":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid"},"name":{"type":"string"},"cdt":{"type":"string","description":"JavaScript condition expression"},"fields":{"type":"array","items":{"type":"string"}},"json_format":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"value":{"type":"string"},"operator":{"type":"string"}}}}}},"Field":{"type":"object","properties":{"name":{"type":"string","description":"System name — used as key in submission `items`"},"label":{"type":"string"},"position":{"type":"integer"},"type":{"type":"string","description":"text, number, boolean, date, duration, phone, email, location, image, signature, file, list, relation, user, label…\n"},"enable":{"type":"boolean"},"required":{"type":"boolean"},"prefill":{"type":"boolean"},"readonly":{"type":"boolean"},"searchable":{"type":"boolean"}}},"Workflow":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"created_at":{"type":"integer","format":"int64"},"updated_at":{"type":"integer","format":"int64"},"start_state":{"type":"string","format":"uuid"},"states":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowState"}},"transitions":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowTransition"}}}},"WorkflowState":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"color":{"type":"string"},"end":{"type":"boolean","description":"Submissions in end states cannot be modified"}}},"WorkflowTransition":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"from":{"type":"string","format":"uuid"},"to":{"type":"string","format":"uuid"},"label":{"type":"string"}}},"Trigger":{"type":"object","description":"Customises how a workflow transition appears as a save button","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string"},"transition_id":{"type":"string","format":"uuid"},"color":{"type":"string"},"label":{"type":"string"}}}}},"paths":{"/{app_short}/structures":{"get":{"summary":"List all forms","description":"Returns all available forms with pagination.","tags":["structures"],"operationId":"listStructures","parameters":[{"$ref":"#/components/parameters/AppShort"},{"name":"per_page","in":"query","description":"Number of forms per page (default 10)","schema":{"type":"integer","default":10}},{"name":"page","in":"query","description":"Page number (0-based)","schema":{"type":"integer","default":0}},{"name":"updated_since","in":"query","description":"Return only forms updated since this UNIX timestamp","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Paginated list of forms","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructureListResponse"}}}}}}}}}
```

## Get a form

> Returns the form at the specified version, or the latest version if omitted.

```json
{"openapi":"3.0.3","info":{"title":"Daxium Air API","version":"v1.3"},"tags":[{"name":"structures"}],"servers":[{"url":"https://api.daxium-air.com","description":"Production"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"}},"parameters":{"AppShort":{"name":"app_short","in":"path","required":true,"description":"Short name of the workspace instance (e.g. `daxium-test`)","schema":{"type":"string"}}},"schemas":{"Structure":{"type":"object","properties":{"id":{"type":"integer"},"version":{"type":"integer"},"name":{"type":"string"},"created_at":{"type":"integer","format":"int64"},"updated_at":{"type":"integer","format":"int64"},"settings":{"type":"object","additionalProperties":true},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Condition"}},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Field"}},"layout":{"type":"object","properties":{"pages":{"type":"array","items":{}},"fields":{"type":"array","items":{}}}},"workflows":{"type":"array","items":{"$ref":"#/components/schemas/Workflow"}},"triggers":{"type":"array","items":{"$ref":"#/components/schemas/Trigger"}}}},"Condition":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid"},"name":{"type":"string"},"cdt":{"type":"string","description":"JavaScript condition expression"},"fields":{"type":"array","items":{"type":"string"}},"json_format":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"value":{"type":"string"},"operator":{"type":"string"}}}}}},"Field":{"type":"object","properties":{"name":{"type":"string","description":"System name — used as key in submission `items`"},"label":{"type":"string"},"position":{"type":"integer"},"type":{"type":"string","description":"text, number, boolean, date, duration, phone, email, location, image, signature, file, list, relation, user, label…\n"},"enable":{"type":"boolean"},"required":{"type":"boolean"},"prefill":{"type":"boolean"},"readonly":{"type":"boolean"},"searchable":{"type":"boolean"}}},"Workflow":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"created_at":{"type":"integer","format":"int64"},"updated_at":{"type":"integer","format":"int64"},"start_state":{"type":"string","format":"uuid"},"states":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowState"}},"transitions":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowTransition"}}}},"WorkflowState":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"color":{"type":"string"},"end":{"type":"boolean","description":"Submissions in end states cannot be modified"}}},"WorkflowTransition":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"from":{"type":"string","format":"uuid"},"to":{"type":"string","format":"uuid"},"label":{"type":"string"}}},"Trigger":{"type":"object","description":"Customises how a workflow transition appears as a save button","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string"},"transition_id":{"type":"string","format":"uuid"},"color":{"type":"string"},"label":{"type":"string"}}}}},"paths":{"/{app_short}/structures/{id}":{"get":{"summary":"Get a form","description":"Returns the form at the specified version, or the latest version if omitted.","tags":["structures"],"operationId":"getStructure","parameters":[{"$ref":"#/components/parameters/AppShort"},{"name":"id","in":"path","required":true,"description":"Form identifier","schema":{"type":"integer"}},{"name":"version","in":"query","description":"Form version number","schema":{"type":"integer"}}],"responses":{"200":{"description":"Form object","content":{"application/json":{"schema":{"type":"object","properties":{"structure":{"$ref":"#/components/schemas/Structure"},"server_time":{"type":"integer","format":"int64"}}}}}}}}}}}
```

## Get a file attached to a form

> Returns the file attached to a form (currently Logo field images only).

```json
{"openapi":"3.0.3","info":{"title":"Daxium Air API","version":"v1.3"},"tags":[{"name":"structures"}],"servers":[{"url":"https://api.daxium-air.com","description":"Production"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"}},"parameters":{"AppShort":{"name":"app_short","in":"path","required":true,"description":"Short name of the workspace instance (e.g. `daxium-test`)","schema":{"type":"string"}}}},"paths":{"/{app_short}/structures/{id}/file/{file_id}":{"get":{"summary":"Get a file attached to a form","description":"Returns the file attached to a form (currently Logo field images only).","tags":["structures"],"operationId":"getStructureFile","parameters":[{"$ref":"#/components/parameters/AppShort"},{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Image file","content":{"image/jpeg":{"schema":{"type":"string","format":"binary"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.center.daxium-air.com/api-reference/forms.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
