Create a bulk query conversion job

POST /project/{projectId}/queries/bulk-convert

Create a bulk query conversion job

Path parameters

  • projectId string Required

    Project ID

    Format should match the following pattern: ^[A-Za-z0-9\-]+$.

application/json

Body

  • language string Required

    Values are JAVA, CSHARP, or JAVASCRIPT.

  • queries array[string] Required
  • attemptTypedEntities boolean

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • pendingQueries array[string] Required
    • runningQueries array[string] Required
    • completedQueries array[string] Required
    • failedQueries array[string] Required
  • 497 application/json

    Operation is not allowed when there are existing query conversions jobs

    Hide response attributes Show response attributes object
    • jobId string

      Format should match the following pattern: ^[A-Za-z0-9\-]+$.

    • message string Required
    • description string
    • timestamp string(date-time) Required
POST /project/{projectId}/queries/bulk-convert
curl \ --request POST 'http://127.0.0.1:8278/api/v1/project/{projectId}/queries/bulk-convert' \ --header "Content-Type: application/json" \ --data '{"language":"JAVA","queries":["string"],"attemptTypedEntities":true}'
Request examples
{ "language": "JAVA", "queries": [ "string" ], "attemptTypedEntities": true }
Response examples (200)
{ "pendingQueries": [ "string" ], "runningQueries": [ "string" ], "completedQueries": [ "string" ], "failedQueries": [ "string" ] }
Response examples (497)
{ "jobId": "string", "message": "string", "description": "string", "timestamp": "2025-05-04T09:42:00Z" }