For the complete documentation index, see llms.txt. This page is also available as Markdown.

uploadThirdPartyFileBase64

Upload a file with third party issues for future processing. Returns a requestId that can be used to track the upload status.

Examples

mutation UploadThirdPartyFileBase64($data: String!, $tool: String!, $fileType: ThirdPartyUploadDataType) {
  uploadThirdPartyFileBase64(data: $data, tool: $tool, fileType: $fileType) {
    requestId
    success
    message
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "data": "example",
  "tool": "example",
  "fileType": "JSON"
}
curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
 "query": "mutation UploadThirdPartyFileBase64($data: String!, $tool: String!, $fileType: ThirdPartyUploadDataType) { uploadThirdPartyFileBase64(data: $data, tool: $tool, fileType: $fileType) { requestId success message } }",
 "variables": {
    "data": "example",
    "tool": "example",
    "fileType": "JSON"
  }
}'

Arguments

You can use the following argument(s) to customize your uploadThirdPartyFileBase64 mutation.

Argument
Description
Supported fields

data String! required

File content to upload, must be encoded as base64

tool String! required

Tool Name

Type of file being uploaded. If not specified, defaults to Policy file

Fields

Return type: UploadFileResponse!

You can use the following field(s) to specify what information your uploadThirdPartyFileBase64 mutation will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

requestId String!

Unique identifier for tracking the upload request

success Boolean!

Indicates whether the file upload was successful

message String

Human-readable error message when success is false (e.g. duplicate or oversized upload)

Last updated