Mutations
createAsset
Creates an asset, which can be a file or other resource.
MUTATION
createAsset(input: CreateFileAttachmentInput!): CreateAssetArguments
input
required
Returns
fileAttachment
uploadUrl
String
Mutation
Variables
Response
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Creates an asset, which can be a file or other resource.
createAsset(input: CreateFileAttachmentInput!): CreateAssetmutation CreateAsset($input: CreateFileAttachmentInput!) {
createAsset(input: $input) {
fileAttachment {
LastSessionId
_AssetEntitiesCount
_FileAttachmentEntitiesCount
_created
_etag
_updated
}
uploadUrl
}
}{
"input": {}
}{
"data": {
"createAsset": {
"fileAttachment": {
"LastSessionId": "string",
"_AssetEntitiesCount": 1,
"_FileAttachmentEntitiesCount": 1,
"_created": "value",
"_etag": "string",
"_updated": "value"
},
"uploadUrl": "string"
}
}
}Was this page helpful?
mutation CreateAsset($input: CreateFileAttachmentInput!) {
createAsset(input: $input) {
fileAttachment {
LastSessionId
_AssetEntitiesCount
_FileAttachmentEntitiesCount
_created
_etag
_updated
}
uploadUrl
}
}{
"input": {}
}{
"data": {
"createAsset": {
"fileAttachment": {
"LastSessionId": "string",
"_AssetEntitiesCount": 1,
"_FileAttachmentEntitiesCount": 1,
"_created": "value",
"_etag": "string",
"_updated": "value"
},
"uploadUrl": "string"
}
}
}Suggestions