Skip to content

Get Signed URL for Indexing Job Details

client.KnowledgeBases.IndexingJobs.GetSignedURL(ctx, indexingJobUuid) (*KnowledgeBaseIndexingJobGetSignedURLResponse, error)
get/v2/gen-ai/indexing_jobs/{indexing_job_uuid}/details_signed_url

To get a signed URL for indexing job details, send a GET request to /v2/gen-ai/indexing_jobs/{uuid}/details_signed_url.

ParametersExpand Collapse
indexingJobUuid string
ReturnsExpand Collapse
type KnowledgeBaseIndexingJobGetSignedURLResponse struct{…}
SignedURL stringoptional

The signed url for downloading the indexing job details

Get Signed URL for Indexing Job Details
package main

import (
  "context"
  "fmt"

  "github.com/stainless-sdks/-go"
  "github.com/stainless-sdks/-go/option"
)

func main() {
  client := gradient.NewClient(
    option.WithAccessToken("My Access Token"),
  )
  response, err := client.KnowledgeBases.IndexingJobs.GetSignedURL(context.TODO(), `"123e4567-e89b-12d3-a456-426614174000"`)
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response.SignedURL)
}
{
  "signed_url": "example string"
}
Returns Examples
{
  "signed_url": "example string"
}