APIGen · Schema
APIGen API
An API definition within a project, including its generation source and lifecycle status.
CodeDocumentationGenerationOpen SourcePHP
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the API. |
| projectId | string | ID of the parent project. |
| name | string | Human-readable name of the API. |
| description | string | Detailed description of what the API does. |
| version | string | Semantic version of the API. |
| generationSource | string | How the API was created: from a natural language prompt, an imported spec, or manually. |
| prompt | string | The natural language prompt used to generate the API, if applicable. |
| specUrl | string | URL to the imported OpenAPI specification, if applicable. |
| status | string | Current lifecycle status of the API. |
| endpointCount | integer | Number of endpoints defined in this API. |
| schemaCount | integer | Number of schemas defined in this API. |
| tags | array | Tags for categorizing the API. |
| createdAt | string | Timestamp when the API was created. |
| updatedAt | string | Timestamp when the API was last updated. |