Hello, does anybody have an example of adding a ta...
# ask-community
a
Hello, does anybody have an example of adding a tag to a job run when triggering via GraphQL? I have the following query that works:
Copy code
mutation LaunchRunMutation(
  $repositoryLocationName: String!
  $repositoryName: String!
  $jobName: String!
  $runConfigData: RunConfigData!
) {
  launchRun(
    executionParams: {
      selector: {
        repositoryLocationName: $repositoryLocationName
        repositoryName: $repositoryName
        jobName: $jobName
      }
      runConfigData: $runConfigData
    }
  ) {
    __typename
    ... on LaunchRunSuccess {
      run {
        runId
      }
    }
    ... on RunConfigValidationInvalid {
      errors {
        message
        reason
      }
    }
    ... on PythonError {
      message
    }
  }
}
c
you can do it via
executionMetadata
in the `executionParams`:
Copy code
executionParams:
  executionMetadata:
    tags:
       [{key: some_key, value: some_value}, ...]
a
thanks!