/
/My API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1h ago · Updated 6mo ago
  • get/v0/openapi
  • getRetrieve the current user
  • getList organizations
  • getRetrieve an organization
  • getList projects
  • postCreate project
  • getRetrieve project
  • patchUpdate project
  • postGenerate an AI commit message for a specific SDK
  • getList project branches
  • postCreate a new project branch
  • getRetrieve a project branch
  • deleteDelete a project branch
  • putRebase a project branch
  • put/v0/projects/{project}/branches/{branch}/reset
  • getRetrieve configuration files
  • postGenerate config suggestions
  • getList project builds
  • postCreate build
  • getRetrieve build
  • getDownload build target output
  • postCreates two comparable builds
  • getGet diagnostics for a build
  • post/v0/projects/{projectName}/snippets/request
  • getRetrieve decorated spec

post/v0/projects/{projectName}/snippets/request

Path parameters

projectNamestring required

Request body

language'node' | 'typescript' | 'python' | 'go' | 'java' | 'kotlin' | 'ruby' | 'terraform' | 'cli' | 'php' | 'csharp' | 'sql' | 'openapi' required
version'next' | 'latest_released' required

Response

success

snippetstring required

Changes