Skip to main content
GET
/
diamond
/
getFilesByQueryId
Get files by query ID
curl --request GET \
  --url https://api.diadna.cloud/diamond/getFilesByQueryId \
  --header 'secret-key: <api-key>'
{
  "data": {
    "id": "<string>",
    "base": "<string>",
    "remark": "<string>",
    "expected_result": "<string>",
    "stage": "<string>",
    "status": "<string>",
    "jsonData": {},
    "companyId": "<string>",
    "Table": {
      "transactions": [
        {
          "name": "<string>",
          "stage": "<string>",
          "points": "<string>"
        }
      ],
      "mains": [
        {
          "name": "<string>",
          "stage": "<string>",
          "points": "<string>"
        }
      ]
    }
  }
}

Authorizations

secret-key
string
header
required

Query Parameters

queryId
string
required

Query ID to fetch data for

Response

200 - application/json

Files data fetched successfully

data
object