v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13214471.4 KB
projects

Generates GraphQL schema based on a natural language prompt or data description. This allows users to scaffold new types and tables quickly. Streams results with real-time status and output chunks.

post/v1/{+name}:generateSchema

Path parameters

namestring required

Required. The resource name of the service in which to generate the schema. Format: projects/{project}/locations/{location}/services/{service}

Request body

promptstring

Required. The natural language description of the data model to generate. Example: "A blog system with Users, Posts, and Comments. Users can have multiple posts."

Response

Successful response