package main
import(
"context"
"github.com/conductorone/conductorone-sdk-go/pkg/models/shared"
conductoronesdkgo "github.com/conductorone/conductorone-sdk-go"
"github.com/conductorone/conductorone-sdk-go/pkg/models/operations"
"log"
)
func main() {
ctx := context.Background()
s := conductoronesdkgo.New(
conductoronesdkgo.WithSecurity(shared.Security{
BearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
Oauth: "<YOUR_OAUTH_HERE>",
}),
)
res, err := s.Reporting.Update(ctx, operations.C1APIReportingV1ReportingServiceUpdateRequest{
ID: "<id>",
})
if err != nil {
log.Fatal(err)
}
if res.ReportingServiceUpdateResponse != nil {
// handle response
}
}curl --request POST \
--url https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"description": "<string>",
"displayName": "<string>",
"expectedProgramId": "<string>",
"parameterValues": {},
"prompt": "<string>"
}
'import requests
url = "https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id}"
payload = {
"description": "<string>",
"displayName": "<string>",
"expectedProgramId": "<string>",
"parameterValues": {},
"prompt": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
description: '<string>',
displayName: '<string>',
expectedProgramId: '<string>',
parameterValues: {},
prompt: '<string>'
})
};
fetch('https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'description' => '<string>',
'displayName' => '<string>',
'expectedProgramId' => '<string>',
'parameterValues' => [
],
'prompt' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.post("https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"description\": \"<string>\",\n \"displayName\": \"<string>\",\n \"expectedProgramId\": \"<string>\",\n \"parameterValues\": {},\n \"prompt\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"description\": \"<string>\",\n \"displayName\": \"<string>\",\n \"expectedProgramId\": \"<string>\",\n \"parameterValues\": {},\n \"prompt\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"report": {
"createdAt": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"displayName": "<string>",
"id": "<string>",
"latestRunId": "<string>",
"latestRunSummary": {
"artifactUrl": "<string>",
"conversationId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"editInstruction": "<string>",
"error": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"finalizingAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"invocationId": "<string>",
"lineage": {},
"parameterSchema": {},
"parameterValues": {},
"phase": "REPORT_RUN_PHASE_UNSPECIFIED",
"preparingAt": "2023-11-07T05:31:56Z",
"program": {
"commitId": "<string>",
"functionId": "<string>",
"plannedFromPrompt": "<string>",
"programId": "<string>"
},
"reportId": "<string>",
"requestedAt": "2023-11-07T05:31:56Z",
"runByUserId": "<string>",
"runningAt": "2023-11-07T05:31:56Z",
"sources": [
{
"count": "<string>",
"kind": "<string>",
"label": "<string>",
"ref": "<string>"
}
],
"status": "REPORT_RUN_STATUS_UNSPECIFIED",
"surfaceId": "<string>",
"surfaceSnapshot": {
"catalogId": "<string>",
"components": [
{
"button": {
"action": {
"event": {
"context": {},
"name": "<string>"
},
"functionCall": {
"args": {},
"call": "<string>",
"message": "<string>"
}
},
"checks": [
{
"and": {
"checks": "<array>"
},
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"or": {
"checks": "<array>"
}
}
],
"disabled": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": true,
"path": "<string>"
},
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"variant": "BUTTON_VARIANT_UNSPECIFIED"
},
"c1Chart": {
"artifactUrl": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"categorical": {
"slices": [
{
"label": "<string>",
"value": 123
}
],
"style": "C1_CHART_CATEGORICAL_STYLE_UNSPECIFIED"
},
"sources": [
{
"count": "<string>",
"kind": "<string>",
"label": "<string>",
"ref": "<string>"
}
],
"timeSeries": {
"range": {
"end": "2023-11-07T05:31:56Z",
"label": "<string>",
"start": "2023-11-07T05:31:56Z"
},
"series": [
{
"displayName": "<string>",
"key": "<string>",
"points": [
{
"ts": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"style": "C1_CHART_TIME_SERIES_STYLE_UNSPECIFIED"
},
"title": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"c1CodeBlock": {
"code": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"copyable": true,
"language": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"title": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"c1ConnectorConfigForm": {
"appId": "<string>",
"connectorId": "<string>",
"skipActionName": "<string>",
"submitActionName": "<string>"
},
"c1ConnectorSyncDetail": {
"appId": "<string>",
"connectorId": "<string>",
"title": "<string>"
},
"c1ConnectorSyncProgress": {
"appId": "<string>",
"connectorId": "<string>",
"title": "<string>"
},
"c1DurationPicker": {
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"maxDurationSeconds": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
}
},
"c1MetricCards": {
"cards": [
{
"delta": "<string>",
"deltaSentiment": "C1_METRIC_DELTA_SENTIMENT_UNSPECIFIED",
"label": "<string>",
"sparkline": [
123
],
"value": "<string>"
}
],
"sources": [
{
"count": "<string>",
"kind": "<string>",
"label": "<string>",
"ref": "<string>"
}
],
"title": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"c1MsTeamsNotifications": {},
"c1OnboardingPlan": {
"categories": [
{
"id": "<string>",
"steps": [
{
"agentAssisted": true,
"description": "<string>",
"id": "<string>",
"title": "<string>"
}
],
"title": "<string>"
}
]
},
"c1OnboardingWelcome": {
"recommendedCatalogId": "<string>",
"recommendedDisplayName": "<string>"
},
"c1ResourcePicker": {
"appId": "<string>",
"connectorId": "<string>",
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"mcpToolState": "<string>",
"multiSelect": true,
"resourceType": "<string>",
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"c1SlackNotifications": {},
"c1StatusIndicator": {
"message": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"showSpinner": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": true,
"path": "<string>"
},
"status": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"toolName": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"c1Table": {
"artifactUrl": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"columns": [
"<string>"
],
"pageSize": 123,
"rows": [
{
"cells": [
"<string>"
]
}
],
"sources": [
{
"count": "<string>",
"kind": "<string>",
"label": "<string>",
"ref": "<string>"
}
],
"title": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"totalRows": "<string>"
},
"c1TodoList": {
"items": [
{
"description": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"id": "<string>",
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"section": "<string>",
"status": "<string>",
"trailingAction": {
"context": {},
"name": "<string>"
},
"trailingActionLabel": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
}
],
"title": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"card": {
"children": {
"ids": [
"<string>"
]
}
},
"checkBox": {
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": true,
"path": "<string>"
}
},
"choicePicker": {
"choices": [
{
"description": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"id": "<string>",
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
}
],
"hideLabel": true,
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"multiSelect": true,
"required": true,
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"column": {
"alignment": "<string>",
"children": {
"ids": [
"<string>"
]
},
"distribution": "<string>",
"gap": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
}
},
"dateTimeInput": {
"inputType": "DATE_TIME_INPUT_TYPE_UNSPECIFIED",
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"max": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"min": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"divider": {
"orientation": "<string>"
},
"id": "<string>",
"progressBar": {
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"max": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"min": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"step": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
}
},
"row": {
"alignment": "<string>",
"children": {
"ids": [
"<string>"
]
},
"distribution": "<string>",
"gap": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
}
},
"slider": {
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"max": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"min": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"step": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
}
},
"text": {
"markdown": true,
"text": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"textField": {
"checks": [
{
"args": {},
"call": "<string>",
"message": "<string>"
}
],
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"placeholder": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"variant": "TEXT_FIELD_VARIANT_UNSPECIFIED"
},
"weight": 123
}
],
"conversationId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"dataModelJson": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"hasReportProgram": true,
"reportEditTarget": {
"appliedRunId": "<string>",
"expectedProgramId": "<string>",
"reportId": "<string>"
},
"role": "SURFACE_ROLE_UNSPECIFIED",
"savedReportId": "<string>",
"schemaVersion": "<string>",
"sendDataModel": true,
"state": "SURFACE_LIFECYCLE_STATE_UNSPECIFIED",
"surfaceId": "<string>",
"tenantId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"tenantId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"vfsId": "<string>"
},
"latestSuccessfulRunId": "<string>",
"parameterSchema": {},
"parameterValues": {},
"program": {
"commitId": "<string>",
"functionId": "<string>",
"plannedFromPrompt": "<string>",
"programId": "<string>"
},
"prompt": "<string>",
"tenantId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Update
Update modifies a report’s display name, prompt, or parameter values. Only the report’s creator can update it.
package main
import(
"context"
"github.com/conductorone/conductorone-sdk-go/pkg/models/shared"
conductoronesdkgo "github.com/conductorone/conductorone-sdk-go"
"github.com/conductorone/conductorone-sdk-go/pkg/models/operations"
"log"
)
func main() {
ctx := context.Background()
s := conductoronesdkgo.New(
conductoronesdkgo.WithSecurity(shared.Security{
BearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
Oauth: "<YOUR_OAUTH_HERE>",
}),
)
res, err := s.Reporting.Update(ctx, operations.C1APIReportingV1ReportingServiceUpdateRequest{
ID: "<id>",
})
if err != nil {
log.Fatal(err)
}
if res.ReportingServiceUpdateResponse != nil {
// handle response
}
}curl --request POST \
--url https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"description": "<string>",
"displayName": "<string>",
"expectedProgramId": "<string>",
"parameterValues": {},
"prompt": "<string>"
}
'import requests
url = "https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id}"
payload = {
"description": "<string>",
"displayName": "<string>",
"expectedProgramId": "<string>",
"parameterValues": {},
"prompt": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
description: '<string>',
displayName: '<string>',
expectedProgramId: '<string>',
parameterValues: {},
prompt: '<string>'
})
};
fetch('https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'description' => '<string>',
'displayName' => '<string>',
'expectedProgramId' => '<string>',
'parameterValues' => [
],
'prompt' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.post("https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"description\": \"<string>\",\n \"displayName\": \"<string>\",\n \"expectedProgramId\": \"<string>\",\n \"parameterValues\": {},\n \"prompt\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}.conductor.one/api/v1/reporting/reports/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"description\": \"<string>\",\n \"displayName\": \"<string>\",\n \"expectedProgramId\": \"<string>\",\n \"parameterValues\": {},\n \"prompt\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"report": {
"createdAt": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"displayName": "<string>",
"id": "<string>",
"latestRunId": "<string>",
"latestRunSummary": {
"artifactUrl": "<string>",
"conversationId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"editInstruction": "<string>",
"error": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"finalizingAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"invocationId": "<string>",
"lineage": {},
"parameterSchema": {},
"parameterValues": {},
"phase": "REPORT_RUN_PHASE_UNSPECIFIED",
"preparingAt": "2023-11-07T05:31:56Z",
"program": {
"commitId": "<string>",
"functionId": "<string>",
"plannedFromPrompt": "<string>",
"programId": "<string>"
},
"reportId": "<string>",
"requestedAt": "2023-11-07T05:31:56Z",
"runByUserId": "<string>",
"runningAt": "2023-11-07T05:31:56Z",
"sources": [
{
"count": "<string>",
"kind": "<string>",
"label": "<string>",
"ref": "<string>"
}
],
"status": "REPORT_RUN_STATUS_UNSPECIFIED",
"surfaceId": "<string>",
"surfaceSnapshot": {
"catalogId": "<string>",
"components": [
{
"button": {
"action": {
"event": {
"context": {},
"name": "<string>"
},
"functionCall": {
"args": {},
"call": "<string>",
"message": "<string>"
}
},
"checks": [
{
"and": {
"checks": "<array>"
},
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"or": {
"checks": "<array>"
}
}
],
"disabled": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": true,
"path": "<string>"
},
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"variant": "BUTTON_VARIANT_UNSPECIFIED"
},
"c1Chart": {
"artifactUrl": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"categorical": {
"slices": [
{
"label": "<string>",
"value": 123
}
],
"style": "C1_CHART_CATEGORICAL_STYLE_UNSPECIFIED"
},
"sources": [
{
"count": "<string>",
"kind": "<string>",
"label": "<string>",
"ref": "<string>"
}
],
"timeSeries": {
"range": {
"end": "2023-11-07T05:31:56Z",
"label": "<string>",
"start": "2023-11-07T05:31:56Z"
},
"series": [
{
"displayName": "<string>",
"key": "<string>",
"points": [
{
"ts": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"style": "C1_CHART_TIME_SERIES_STYLE_UNSPECIFIED"
},
"title": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"c1CodeBlock": {
"code": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"copyable": true,
"language": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"title": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"c1ConnectorConfigForm": {
"appId": "<string>",
"connectorId": "<string>",
"skipActionName": "<string>",
"submitActionName": "<string>"
},
"c1ConnectorSyncDetail": {
"appId": "<string>",
"connectorId": "<string>",
"title": "<string>"
},
"c1ConnectorSyncProgress": {
"appId": "<string>",
"connectorId": "<string>",
"title": "<string>"
},
"c1DurationPicker": {
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"maxDurationSeconds": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
}
},
"c1MetricCards": {
"cards": [
{
"delta": "<string>",
"deltaSentiment": "C1_METRIC_DELTA_SENTIMENT_UNSPECIFIED",
"label": "<string>",
"sparkline": [
123
],
"value": "<string>"
}
],
"sources": [
{
"count": "<string>",
"kind": "<string>",
"label": "<string>",
"ref": "<string>"
}
],
"title": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"c1MsTeamsNotifications": {},
"c1OnboardingPlan": {
"categories": [
{
"id": "<string>",
"steps": [
{
"agentAssisted": true,
"description": "<string>",
"id": "<string>",
"title": "<string>"
}
],
"title": "<string>"
}
]
},
"c1OnboardingWelcome": {
"recommendedCatalogId": "<string>",
"recommendedDisplayName": "<string>"
},
"c1ResourcePicker": {
"appId": "<string>",
"connectorId": "<string>",
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"mcpToolState": "<string>",
"multiSelect": true,
"resourceType": "<string>",
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"c1SlackNotifications": {},
"c1StatusIndicator": {
"message": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"showSpinner": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": true,
"path": "<string>"
},
"status": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"toolName": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"c1Table": {
"artifactUrl": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"columns": [
"<string>"
],
"pageSize": 123,
"rows": [
{
"cells": [
"<string>"
]
}
],
"sources": [
{
"count": "<string>",
"kind": "<string>",
"label": "<string>",
"ref": "<string>"
}
],
"title": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"totalRows": "<string>"
},
"c1TodoList": {
"items": [
{
"description": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"id": "<string>",
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"section": "<string>",
"status": "<string>",
"trailingAction": {
"context": {},
"name": "<string>"
},
"trailingActionLabel": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
}
],
"title": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"card": {
"children": {
"ids": [
"<string>"
]
}
},
"checkBox": {
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": true,
"path": "<string>"
}
},
"choicePicker": {
"choices": [
{
"description": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"id": "<string>",
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
}
],
"hideLabel": true,
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"multiSelect": true,
"required": true,
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"column": {
"alignment": "<string>",
"children": {
"ids": [
"<string>"
]
},
"distribution": "<string>",
"gap": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
}
},
"dateTimeInput": {
"inputType": "DATE_TIME_INPUT_TYPE_UNSPECIFIED",
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"max": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"min": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"divider": {
"orientation": "<string>"
},
"id": "<string>",
"progressBar": {
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"max": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"min": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"step": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
}
},
"row": {
"alignment": "<string>",
"children": {
"ids": [
"<string>"
]
},
"distribution": "<string>",
"gap": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
}
},
"slider": {
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"max": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"min": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"step": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": 123,
"path": "<string>"
}
},
"text": {
"markdown": true,
"text": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
}
},
"textField": {
"checks": [
{
"args": {},
"call": "<string>",
"message": "<string>"
}
],
"label": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"placeholder": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"value": {
"call": {
"args": {},
"call": "<string>",
"message": "<string>"
},
"literal": "<string>",
"path": "<string>"
},
"variant": "TEXT_FIELD_VARIANT_UNSPECIFIED"
},
"weight": 123
}
],
"conversationId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"dataModelJson": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"hasReportProgram": true,
"reportEditTarget": {
"appliedRunId": "<string>",
"expectedProgramId": "<string>",
"reportId": "<string>"
},
"role": "SURFACE_ROLE_UNSPECIFIED",
"savedReportId": "<string>",
"schemaVersion": "<string>",
"sendDataModel": true,
"state": "SURFACE_LIFECYCLE_STATE_UNSPECIFIED",
"surfaceId": "<string>",
"tenantId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"tenantId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"vfsId": "<string>"
},
"latestSuccessfulRunId": "<string>",
"parameterSchema": {},
"parameterValues": {},
"program": {
"commitId": "<string>",
"functionId": "<string>",
"plannedFromPrompt": "<string>",
"programId": "<string>"
},
"prompt": "<string>",
"tenantId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The id field.
Body
Both editable fields are optional; an empty one leaves the stored value alone. At least one must be set.
The description field.
The displayName field.
Required with parameter_values. Prevents values prepared for one source version from being installed after an assistant edit advances the report.
Editing this does not re-plan, so it may drift from program.planned_from_prompt — that drift is how a stale report is detected.
Response
Successful response
The ReportingServiceUpdateResponse message.
Report is a saved report: the question, the program that answers it, and the parameters a re-run may vary.
Show child attributes
Show child attributes
Was this page helpful?